Class: SimpleHL7::SeparatorCharacters

Inherits:
Struct
  • Object
show all
Defined in:
lib/simple_hl7/separator_characters.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#componentObject

Returns the value of attribute component

Returns:

  • (Object)

    the current value of component



2
3
4
# File 'lib/simple_hl7/separator_characters.rb', line 2

def component
  @component
end

#escapeObject

Returns the value of attribute escape

Returns:

  • (Object)

    the current value of escape



2
3
4
# File 'lib/simple_hl7/separator_characters.rb', line 2

def escape
  @escape
end

#fieldObject

Returns the value of attribute field

Returns:

  • (Object)

    the current value of field



2
3
4
# File 'lib/simple_hl7/separator_characters.rb', line 2

def field
  @field
end

#repetitionObject

Returns the value of attribute repetition

Returns:

  • (Object)

    the current value of repetition



2
3
4
# File 'lib/simple_hl7/separator_characters.rb', line 2

def repetition
  @repetition
end

#subcomponentObject

Returns the value of attribute subcomponent

Returns:

  • (Object)

    the current value of subcomponent



2
3
4
# File 'lib/simple_hl7/separator_characters.rb', line 2

def subcomponent
  @subcomponent
end

Class Method Details

.defaultsObject



4
5
6
# File 'lib/simple_hl7/separator_characters.rb', line 4

def self.defaults
  SeparatorCharacters.new('|', '^', '~', '\\', '&')
end