Module: CEML::Casting::Range2
- Defined in:
- lib/ceml/tt/casting.rb
Instance Method Summary collapse
Instance Method Details
#max ⇒ Object
534 535 536 537 538 |
# File 'lib/ceml/tt/casting.rb', line 534 def max return min if super.empty? return 10000 if super.text_value == '+' return super.number.text_value.to_i end |
#min ⇒ Object
533 |
# File 'lib/ceml/tt/casting.rb', line 533 def min; super.text_value.to_i; end |