Class: X12::Empty
- Inherits:
-
Base
- Object
- Base
- X12::Empty
- Defined in:
- lib/X12/Empty.rb
Overview
$Id: Empty.rb 35 2008-11-13 18:33:44Z ikk $
Class indicating the absense of any X12 element, be it loop, segment, or anything else like that.
Instance Method Summary collapse
-
#initialize ⇒ Empty
constructor
Create a new empty.
-
#to_s ⇒ Object
Returns an empty string.
Constructor Details
#initialize ⇒ Empty
Create a new empty
33 34 35 |
# File 'lib/X12/Empty.rb', line 33 def initialize super(nil, []) end |
Instance Method Details
#to_s ⇒ Object
Returns an empty string
38 39 40 |
# File 'lib/X12/Empty.rb', line 38 def to_s '' end |