Class: X12::Composite

Inherits:
Base
  • Object
show all
Defined in:
lib/x12/composite.rb

Overview

Class implementing a composite field.

Instance Attribute Summary

Attributes inherited from Base

#composite_separator, #field_separator, #name, #next_repeat, #nodes, #parsed_str, #repeats, #segment_separator

Instance Method Summary collapse

Methods inherited from Base

#[], #do_repeats, #dup, #find, #has_content?, #initialize, #method_missing, #repeat, #set_empty!, #show, #size, #to_a, #to_s, #with

Constructor Details

This class inherits a constructor from X12::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class X12::Base

Instance Method Details

#inspectString

Make a printable representation of the composite.

Returns:

  • (String)


6
7
8
# File 'lib/x12/composite.rb', line 6

def inspect
  return "Composite #{super.inspect}"
end