Class: HL7::Message::Delimiter
- Inherits:
-
Object
- Object
- HL7::Message::Delimiter
- Defined in:
- lib/segment_generator.rb
Overview
Class for grouping the messages delimiter
Instance Attribute Summary collapse
-
#element ⇒ Object
Returns the value of attribute element.
-
#item ⇒ Object
Returns the value of attribute item.
-
#segment ⇒ Object
Returns the value of attribute segment.
Instance Method Summary collapse
-
#initialize(element_delim, item_delim, segment_delim) ⇒ Delimiter
constructor
A new instance of Delimiter.
Constructor Details
#initialize(element_delim, item_delim, segment_delim) ⇒ Delimiter
Returns a new instance of Delimiter.
7 8 9 10 11 |
# File 'lib/segment_generator.rb', line 7 def initialize(element_delim, item_delim, segment_delim) @element = element_delim @item = item_delim @segment = segment_delim end |
Instance Attribute Details
#element ⇒ Object
Returns the value of attribute element.
5 6 7 |
# File 'lib/segment_generator.rb', line 5 def element @element end |
#item ⇒ Object
Returns the value of attribute item.
5 6 7 |
# File 'lib/segment_generator.rb', line 5 def item @item end |
#segment ⇒ Object
Returns the value of attribute segment.
5 6 7 |
# File 'lib/segment_generator.rb', line 5 def segment @segment end |