Changeset 243


Ignore:
Timestamp:
Sep 3, 2009, 1:04:18 AM (11 years ago)
Author:
KOBAYASHI, Shinji
Message:

move DvOrdered? test to rspec

Location:
ruby/branches/0.5
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.5/lib/open_ehr/rm/data_types/quantity.rb

    r216 r243  
    2828
    2929          def is_simple?
    30             normal_status.nil? and other_refference_ranges.nil?
     30            return @other_reference_ranges.nil?
    3131          end
    3232
     
    3636
    3737          def other_reference_ranges=(other_reference_ranges)
    38             unless other_reference_ranges.nil? or !other_reference_ranges.is_empty?
     38            if !other_reference_ranges.nil? && other_reference_ranges.empty?
    3939              raise ArgumentError, "Other reference ranges validity error"
    4040            end
Note: See TracChangeset for help on using the changeset viewer.