Class: OpenEHR::AM::Archetype::Assertion::Assertion

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/am/archetype/assertion.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#expressionObject

Returns the value of attribute expression.



6
7
8
# File 'lib/openehr/am/archetype/assertion.rb', line 6

def expression
  @expression
end

#string_expressionObject

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

#tagObject

Returns the value of attribute tag.



6
7
8
# File 'lib/openehr/am/archetype/assertion.rb', line 6

def tag
  @tag
end

#variablesObject

Returns the value of attribute variables.



7
8
9
# File 'lib/openehr/am/archetype/assertion.rb', line 7

def variables
  @variables
end