Method: HL7::Message::SegmentListStorage#add_child_type
- Defined in:
- lib/segment_list_storage.rb
#add_child_type(child_type) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/segment_list_storage.rb', line 9 def add_child_type(child_type) if defined?(@child_types) @child_types << child_type.to_sym else has_children [child_type.to_sym] end end |