Class: Precedent::Translator
- Inherits:
-
Object
- Object
- Precedent::Translator
- Defined in:
- lib/precedent/translator.rb
Constant Summary collapse
Instance Method Summary collapse
-
#initialize(input) ⇒ Translator
constructor
A new instance of Translator.
- #to_hashes ⇒ Object
Constructor Details
#initialize(input) ⇒ Translator
Returns a new instance of Translator.
7 8 9 |
# File 'lib/precedent/translator.rb', line 7 def initialize(input) @input = input end |
Instance Method Details
#to_hashes ⇒ Object
11 12 13 |
# File 'lib/precedent/translator.rb', line 11 def to_hashes raw_parser_output end |