Changeset 257 for ruby/trunk/lib/models


Ignore:
Timestamp:
Sep 13, 2009, 12:58:21 AM (15 years ago)
Author:
Tatsukawa, Akimichi
Message:

generated openehr_models_0.0.3 gem and working on bridge between adl and rm

Location:
ruby/trunk/lib/models
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • ruby/trunk/lib/models/Rakefile

    r142 r257  
    4141  s.email = 'openehr-jp@openehr.jp'
    4242  s.test_files = FileList['tests/test_*.rb', '*.adl']
     43
    4344  candidates = Dir.glob("{am,rm,docs,tests}/**/*") + FileList['COPYING', 'Rakefile','am.rb','assumed_library_types.rb','rm.rb']
    4445  s.files = candidates.delete_if do |item|
  • ruby/trunk/lib/models/am/archetype/archetype.rb

    r163 r257  
    2121          @adl_version = args[:adl_version] if args[:adl_version]
    2222          @archetype_id = args[:archetype_id] ? args[:archetype_id] : nil
    23           @parent_id = args[:parent_id] if args[:parent_id]
     23          @parent_archtype_id = args[:parent_archtype_id] if args[:parent_archtype_id]
    2424          @concept = args[:concept] if args[:concept]
    2525          @is_controled = args[:is_controled] if args[:is_controled]
  • ruby/trunk/lib/models/rm/support/identification.rb

    r158 r257  
    8282
    8383          def specialisation=(specialisation)
    84             raise ArgumentError, "rm_specialisation not valid" if specialisation.nil? or specialisation.empty?
     84#            raise ArgumentError, "rm_specialisation not valid" if specialisation.nil? or specialisation.empty?
    8585            @specialisation = specialisation
    8686          end
Note: See TracChangeset for help on using the changeset viewer.