Module: Extensions::HL7::Segment

Included in:
HL7::Message::Segment
Defined in:
lib/core_ext/segment.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#hashObject

Returns the value of attribute hash.



4
5
6
# File 'lib/core_ext/segment.rb', line 4

def hash
  @hash
end

Class Method Details

.included(base) ⇒ Object



6
7
8
9
# File 'lib/core_ext/segment.rb', line 6

def self.included base
  base.send :include, InstanceMethods
  base.extend ClassMethods
end