Class: FiasReader::Parser
- Inherits:
-
Ox::Sax
- Object
- Ox::Sax
- FiasReader::Parser
- Defined in:
- lib/fias_reader/parser.rb
Instance Attribute Summary collapse
-
#logics ⇒ Object
readonly
Returns the value of attribute logics.
Instance Method Summary collapse
-
#initialize(logics, options) ⇒ Parser
constructor
A new instance of Parser.
Constructor Details
#initialize(logics, options) ⇒ Parser
Returns a new instance of Parser.
6 7 8 |
# File 'lib/fias_reader/parser.rb', line 6 def initialize(logics, ) @logics = ParseLogic.build(logics).new end |
Instance Attribute Details
#logics ⇒ Object (readonly)
Returns the value of attribute logics.
3 4 5 |
# File 'lib/fias_reader/parser.rb', line 3 def logics @logics end |