Changeset 277


Ignore:
Timestamp:
Sep 17, 2009, 6:21:11 PM (15 years ago)
Author:
KOBAYASHI, Shinji
Message:

party_ref test/unit move to rspec

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

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.5/lib/open_ehr/rm/support/identification.rb

    r276 r277  
    299299
    300300        class PartyRef < ObjectRef
    301 
    302301          def type=(type)
    303             parties = ['PERSON', 'ORGANISATION', 'GROUP', 'AGENT', 'ROLE','PARTY', 'ACTOR']
     302            parties = %w[PERSON ORGANISATION GROUP AGENT ROLE PARTY ACTOR]
    304303            raise ArgumentError, 'type invalid' unless parties.include? type
    305304            @type = type
Note: See TracChangeset for help on using the changeset viewer.