Module: ParserCore::BaseParser
- Includes:
- Mega
- Defined in:
- lib/parser_core/base_parser.rb
Constant Summary collapse
- EMPTY_ARRAY =
[]
Instance Attribute Summary collapse
-
#raw ⇒ Object
Returns the value of attribute raw.
Instance Method Summary collapse
Methods included from Mega
Instance Attribute Details
#raw ⇒ Object
Returns the value of attribute raw.
6 7 8 |
# File 'lib/parser_core/base_parser.rb', line 6 def raw @raw end |
Instance Method Details
#attributes ⇒ Object
12 13 14 |
# File 'lib/parser_core/base_parser.rb', line 12 def attributes raw.attributes end |
#initialize(raw) ⇒ Object
8 9 10 |
# File 'lib/parser_core/base_parser.rb', line 8 def initialize(raw) @raw = raw end |