Changeset 246


Ignore:
Timestamp:
Sep 5, 2009, 9:03:27 PM (11 years ago)
Author:
KOBAYASHI, Shinji
Message:

move DvOrdinal? 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

    r245 r246  
    1212
    1313          def initialize(args = {})
     14            super(args)
    1415            self.normal_range = args[:normal_range]
    1516            self.normal_status = args[:normal_status]
     
    9899          attr_reader :value, :symbol, :limits
    99100
    100           def initialize(value, symbol, limits=nil, normal_range=nil,
    101                          normal_status = nil, other_reference_ranges=nil)
    102             self.value = value
    103             self.symbol = symbol
    104             self.limits = limits
    105             super(normal_range, normal_status, other_reference_ranges)
     101          def initialize(args = {})
     102            super(args)
     103            self.symbol = args[:symbol]
     104            self.limits = args[:limits]
    106105          end
    107106
Note: See TracChangeset for help on using the changeset viewer.