Class: OpenEHR::RComponents::Base
- Inherits:
-
Object
- Object
- OpenEHR::RComponents::Base
- Defined in:
- lib/rcomponents.rb
Instance Attribute Summary collapse
-
#node_id ⇒ Object
Returns the value of attribute node_id.
-
#path ⇒ Object
Returns the value of attribute path.
-
#rm_type_name ⇒ Object
Returns the value of attribute rm_type_name.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Base
constructor
A new instance of Base.
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_id ⇒ Object
Returns the value of attribute node_id.
4 5 6 |
# File 'lib/rcomponents.rb', line 4 def node_id @node_id end |
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/rcomponents.rb', line 4 def path @path end |
#rm_type_name ⇒ Object
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 |