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.
130 131 132 |
# File 'lib/axlsx/util/validators.rb', line 130 def self.validate_scale_10_400(v) DataTypeValidator.validate "page_scale", [Fixnum, Integer], v, lambda { |arg| arg >= 10 && arg <= 400 } end |