class YAHL7::V2::DataType

This is the base data type class for custom HL7 data types.

Attributes

value[RW]

Public Class Methods

new(value) click to toggle source
# File lib/yahl7/v2/data_type.rb, line 11
def initialize(value)
  @value = value
end

Public Instance Methods

[](index) click to toggle source
# File lib/yahl7/v2/data_type.rb, line 15
def [](index)
  value[index]
end