Class: OpenEHR::AM::Archetype::Assertion::ExprLeaf
- Defined in:
- lib/open_ehr/am/archetype/assertion.rb
Instance Attribute Summary collapse
-
#item ⇒ Object
Returns the value of attribute item.
-
#reference_type ⇒ Object
Returns the value of attribute reference_type.
Attributes inherited from ExprItem
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ ExprLeaf
constructor
A new instance of ExprLeaf.
Constructor Details
#initialize(args = { }) ⇒ ExprLeaf
Returns a new instance of ExprLeaf.
49 50 51 52 53 |
# File 'lib/open_ehr/am/archetype/assertion.rb', line 49 def initialize(args = { }) super self.item = args[:item] self.reference_type = args[:reference_type] end |
Instance Attribute Details
#item ⇒ Object
Returns the value of attribute item.
47 48 49 |
# File 'lib/open_ehr/am/archetype/assertion.rb', line 47 def item @item end |
#reference_type ⇒ Object
Returns the value of attribute reference_type.
47 48 49 |
# File 'lib/open_ehr/am/archetype/assertion.rb', line 47 def reference_type @reference_type end |