Sha256: 8dea2b12a07638ecf369e1441e39a57fc405128ace8fa27c91808bf9977070a8

Contents?: true

Size: 321 Bytes

Versions: 6

Compression:

Stored size: 321 Bytes

Contents

module X12
  # Class indicating the absense of any X12 element, be it loop, segment, or anything else like that.
  class Empty < Base
    # Create a new empty
    def initialize
      super(nil, [])
    end
    # Returns an empty string
    # @return [String]
    def to_s
      return ''
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tcd_x12-1.7.1 lib/x12/empty.rb
tcd_x12-1.7.0 lib/x12/empty.rb
tcd_x12-1.6.3 lib/x12/empty.rb
tcd_x12-1.6.2 lib/x12/empty.rb
tcd_x12-1.6.1 lib/x12/empty.rb
tcd_x12-1.6.0 lib/x12/empty.rb