Class: SaltParser::Base
- Inherits:
-
Object
- Object
- SaltParser::Base
- Defined in:
- lib/salt-parser/base.rb
Direct Known Subclasses
Ofx::Account, Ofx::Balance, Ofx::SignOn, Ofx::Transaction, Qif::Account, Qif::Transaction, Swift::Account
Instance Method Summary collapse
-
#initialize(attrs) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(attrs) ⇒ Base
Returns a new instance of Base.
3 4 5 6 7 |
# File 'lib/salt-parser/base.rb', line 3 def initialize(attrs) attrs.each do |key, value| send("#{key}=", value) end end |