Class: OpenEHR::RComponents::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/rcomponents.rb

Direct Known Subclasses

RElement, REntry

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ Base

Returns a new instance of Base.



5
6
7
8
9
# File 'lib/rcomponents.rb', line 5

def initialize(args = { })
  self.node_id = args[:node_id]
  self.path = args[:path]
  self.rm_type_name = args[:rm_type_name]
end

Instance Attribute Details

#node_idObject

Returns the value of attribute node_id.



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

def node_id
  @node_id
end

#pathObject

Returns the value of attribute path.



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

def path
  @path
end

#rm_type_nameObject

Returns the value of attribute rm_type_name.



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

def rm_type_name
  @rm_type_name
end