Class: Fixnum
- Inherits:
-
Object
- Object
- Fixnum
- Defined in:
- lib/rrrex/core_ext/fixnum.rb
Instance Method Summary collapse
Instance Method Details
#exactly(atom) ⇒ Object
2 3 4 |
# File 'lib/rrrex/core_ext/fixnum.rb', line 2 def exactly( atom ) Rrrex::NumberMatch.new atom, self, self end |
#or_less(atom) ⇒ Object
10 11 12 |
# File 'lib/rrrex/core_ext/fixnum.rb', line 10 def or_less( atom ) Rrrex::NumberMatch.new atom, nil, self end |
#or_more(atom) ⇒ Object
6 7 8 |
# File 'lib/rrrex/core_ext/fixnum.rb', line 6 def or_more( atom ) Rrrex::NumberMatch.new atom, self, nil end |