diff options
| author | Randy Morgan <[email protected]> | 2012-11-25 14:49:36 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-11-25 14:49:36 +0900 |
| commit | 0a25dbeb32e20a3e8557e9dc32ea380cc543ae2a (patch) | |
| tree | 801c1f8e3ed59613357a32a805d22920758913ca /lib/axlsx/util/validators.rb | |
| parent | 727f2ca539ca0dadb72e0982256284736cc44076 (diff) | |
| download | caxlsx-0a25dbeb32e20a3e8557e9dc32ea380cc543ae2a.tar.gz caxlsx-0a25dbeb32e20a3e8557e9dc32ea380cc543ae2a.zip | |
Updated readme and docs for pre 1.3.4 release
Diffstat (limited to 'lib/axlsx/util/validators.rb')
| -rw-r--r-- | lib/axlsx/util/validators.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/axlsx/util/validators.rb b/lib/axlsx/util/validators.rb index 55a49e72..cc8f0a92 100644 --- a/lib/axlsx/util/validators.rb +++ b/lib/axlsx/util/validators.rb @@ -145,6 +145,7 @@ module Axlsx RestrictionValidator.validate "cell run style u", [:none, :single, :double, :singleAccounting, :doubleAccounting], v end + # validates cell style family which must be between 1 and 5 def self.validate_family(v) RestrictionValidator.validate "cell run style family", 1..5, v end |
