Class: HistoricalDating::Parser

Inherits:
Parslet::Parser
  • Object
show all
Defined in:
lib/historical_dating/parser.rb

Instance Method Summary collapse

Instance Method Details

#transform(input) ⇒ Object

Transform



162
163
164
165
166
# File 'lib/historical_dating/parser.rb', line 162

def transform(input)
  result = self.class.new.parse(input)
  result = HistoricalDating::PreTransform.new.apply(result)
  HistoricalDating::Transform.new.apply(result)
end