Class: Range

Inherits:
Object
  • Object
show all
Includes:
MethodMissingConversion
Defined in:
lib/rrrex/core_ext/range.rb

Instance Method Summary collapse

Methods included from MethodMissingConversion

included, #method_missing_with_regexp

Instance Method Details

#of(atom) ⇒ Object



7
8
9
# File 'lib/rrrex/core_ext/range.rb', line 7

def of( atom )
  Rrrex::NumberMatch.new atom, self.begin, self.end
end