Module: Numerouno::Parser

Extended by:
CombinerMethods, SearchMethods
Defined in:
lib/numerouno/parser.rb

Class Method Summary collapse

Methods included from CombinerMethods

combine

Methods included from SearchMethods

numbers_within

Class Method Details

.number_from(string) ⇒ Object



7
8
9
# File 'lib/numerouno/parser.rb', line 7

def self.number_from string
  parse_literal_within(string) || parse_phrase_within(string)
end