Method: Axlsx.validate_scale_10_400
- Defined in:
- lib/axlsx/util/validators.rb
.validate_scale_10_400(v) ⇒ Object
Requires that the value is an integer ranging from 10 to 400.
132 133 134 |
# File 'lib/axlsx/util/validators.rb', line 132 def self.validate_scale_10_400(v) DataTypeValidator.validate "page_scale", [Fixnum, Integer], v, lambda { |arg| arg >= 10 && arg <= 400 } end |