Class: HL7::Message::Segment::Default
- Inherits:
-
HL7::Message::Segment
- Object
- HL7::Message::Segment
- HL7::Message::Segment::Default
- Defined in:
- lib/segment_default.rb
Overview
Constant Summary
Constants inherited from HL7::Message::Segment
METHOD_MISSING_FOR_INITIALIZER
Instance Attribute Summary
Attributes inherited from HL7::Message::Segment
#element_delim, #item_delim, #segment_parent, #segment_weight
Attributes included from HL7::Message::SegmentListStorage
Instance Method Summary collapse
-
#initialize(raw_segment = "", delims = []) ⇒ Default
constructor
A new instance of Default.
Methods inherited from HL7::Message::Segment
#<=>, #each, #elements_from_segment, #has_children?, #is_child_segment=, #is_child_segment?, #length, #method_missing, #to_info, #to_s, #weight
Methods included from HL7::Message::SegmentListStorage
Methods included from TimeFormatterHelper
#hl7_formatted_date, #hl7_formatted_timestamp
Methods included from HL7::Message::SegmentFields
#[], #[]=, #field_info, included, #read_field, #write_field
Constructor Details
#initialize(raw_segment = "", delims = []) ⇒ Default
Returns a new instance of Default.
12 13 14 15 16 |
# File 'lib/segment_default.rb', line 12 def initialize(raw_segment = "", delims = []) segs = [] if raw_segment == "" segs ||= raw_segment super(segs, delims) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HL7::Message::Segment