class X12::Empty

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 5
def initialize
  super(nil, [])
end

Public Instance Methods

to_s() click to toggle source

Returns an empty string @return [String]

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