Class: OpenEHR::AM::Archetype::Assertion::Assertion
- Inherits:
-
Object
- Object
- OpenEHR::AM::Archetype::Assertion::Assertion
- Defined in:
- lib/openehr/am/archetype/assertion.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
Returns the value of attribute expression.
-
#string_expression ⇒ Object
Returns the value of attribute string_expression.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#variables ⇒ Object
Returns the value of attribute variables.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Assertion
constructor
A new instance of Assertion.
Constructor Details
#initialize(args = { }) ⇒ Assertion
Returns a new instance of Assertion.
9 10 11 12 13 14 |
# File 'lib/openehr/am/archetype/assertion.rb', line 9 def initialize(args = { }) self.expression = args[:expression] self.tag = args[:tag] self.string_expression = args[:string_expression] self.variables = args[:variables] end |
Instance Attribute Details
#expression ⇒ Object
Returns the value of attribute expression.
6 7 8 |
# File 'lib/openehr/am/archetype/assertion.rb', line 6 def expression @expression end |
#string_expression ⇒ Object
Returns the value of attribute string_expression.
7 8 9 |
# File 'lib/openehr/am/archetype/assertion.rb', line 7 def string_expression @string_expression end |
#tag ⇒ Object
Returns the value of attribute tag.
6 7 8 |
# File 'lib/openehr/am/archetype/assertion.rb', line 6 def tag @tag end |
#variables ⇒ Object
Returns the value of attribute variables.
7 8 9 |
# File 'lib/openehr/am/archetype/assertion.rb', line 7 def variables @variables end |