Class: SimpleHL7::Component

Inherits:
Composite show all
Defined in:
lib/simple_hl7/component.rb

Class Method Summary collapse

Methods inherited from Composite

#[], #[]=, #each, #get_subcomposite, #initialize, #map, parse, #set_subcomposite, start_index, #to_a, #to_hl7, #to_s

Constructor Details

This class inherits a constructor from SimpleHL7::Composite

Class Method Details

.current_separator_char(separator_chars) ⇒ Object



3
4
5
# File 'lib/simple_hl7/component.rb', line 3

def self.current_separator_char(separator_chars)
  separator_chars.subcomponent
end

.subcomposite_classObject



7
8
9
# File 'lib/simple_hl7/component.rb', line 7

def self.subcomposite_class
  Subcomponent
end