class X12::Empty

$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.

Public Class Methods

new() click to toggle source

Create a new empty

Calls superclass method X12::Base::new
# File lib/x12/empty.rb, line 33
def initialize
  super(nil, [])
end

Public Instance Methods

to_s() click to toggle source

Returns an empty string

# File lib/x12/empty.rb, line 38
def to_s
  ''
end