Class: Document::Base
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Document::Base
- Defined in:
- lib/mt940parser/node_extensions.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
46 47 48 49 50 51 52 53 |
# File 'lib/mt940parser/node_extensions.rb', line 46 def to_hash { valor: valor.text_value, account_date: account_date.text_value, type: type.val, amount: amount.val } end |