Ignore:
Timestamp:
Jul 27, 2008, 7:45:35 PM (16 years ago)
Author:
KOBAYASHI, Shinji
Message:

refs #38, #39, #48

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/trunk/lib/models/rm/data_types/text.rb

    r89 r90  
    3030          end
    3131          private
    32           def match_valid(mach)
    33             raise ArgumentError, "match is not valid" if self.is_valid_mach_code? match
     32          def match_valid(match)
     33            raise ArgumentError, "match is not valid" if !Term_Mapping.is_valid_mach_code? match
    3434          end
    3535          def purpose_valid(purpose)
    36             if !purpose.nil? and !purpose.instance_of? DV_Coded_Text
     36            if purpose.nil? or !purpose.instance_of? DV_Coded_Text
    3737              raise ArgumentError, "purpose is not valid"
    3838            end
Note: See TracChangeset for help on using the changeset viewer.