Class: HistoricalDating::Parser
- Inherits:
-
Parslet::Parser
- Object
- Parslet::Parser
- HistoricalDating::Parser
- Defined in:
- lib/historical_dating/parser.rb
Instance Method Summary collapse
-
#transform(input) ⇒ Object
Transform.
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 |