Changeset 389


Ignore:
Timestamp:
Jan 1, 2010, 10:19:45 AM (14 years ago)
Author:
KOBAYASHI, Shinji
Message:

refs #73
A happy new year!

Location:
ruby/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/trunk/lib/open_ehr/am/archetype/assertion.rb

    r388 r389  
    7878        end
    7979
     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
    8096        class OperatorKind
    8197          OP_EQ = 2001
Note: See TracChangeset for help on using the changeset viewer.