Class: Udger::BaseParser
- Inherits:
-
Object
- Object
- Udger::BaseParser
- Defined in:
- lib/udger/base_parser.rb
Instance Attribute Summary collapse
-
#db ⇒ Object
Returns the value of attribute db.
Instance Method Summary collapse
-
#initialize(db) ⇒ BaseParser
constructor
A new instance of BaseParser.
Constructor Details
#initialize(db) ⇒ BaseParser
Returns a new instance of BaseParser.
5 6 7 |
# File 'lib/udger/base_parser.rb', line 5 def initialize(db) @db = db end |
Instance Attribute Details
#db ⇒ Object
Returns the value of attribute db.
3 4 5 |
# File 'lib/udger/base_parser.rb', line 3 def db @db end |