Class: Eancom::Parser::Document
- Inherits:
-
Object
- Object
- Eancom::Parser::Document
- Defined in:
- lib/eancom/parser/document.rb
Defined Under Namespace
Classes: SegmentTypeNotDefined
Instance Attribute Summary collapse
-
#document ⇒ Object
readonly
Returns the value of attribute document.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file:) ⇒ Document
constructor
A new instance of Document.
- #parse ⇒ Object
Constructor Details
Instance Attribute Details
#document ⇒ Object (readonly)
Returns the value of attribute document.
6 7 8 |
# File 'lib/eancom/parser/document.rb', line 6 def document @document end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
6 7 8 |
# File 'lib/eancom/parser/document.rb', line 6 def file @file end |