Changeset 389 for ruby/trunk/lib/open_ehr/am/archetype/assertion.rb
- Timestamp:
- Jan 1, 2010, 10:19:45 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/trunk/lib/open_ehr/am/archetype/assertion.rb
r388 r389 78 78 end 79 79 80 class ExprUnaryOperator < ExprOperator 81 attr_reader :operand 82 83 def initialize(args = { }) 84 super 85 self.operand = args[:operand] 86 end 87 88 def operand=(operand) 89 if operand.nil? 90 raise ArgumentError, 'operand is mandatory' 91 end 92 @operand = operand 93 end 94 end 95 80 96 class OperatorKind 81 97 OP_EQ = 2001
Note:
See TracChangeset
for help on using the changeset viewer.