- Timestamp:
- Sep 17, 2009, 6:21:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/branches/0.5/lib/open_ehr/rm/support/identification.rb
r276 r277 299 299 300 300 class PartyRef < ObjectRef 301 302 301 def type=(type) 303 parties = ['PERSON', 'ORGANISATION', 'GROUP', 'AGENT', 'ROLE','PARTY', 'ACTOR']302 parties = %w[PERSON ORGANISATION GROUP AGENT ROLE PARTY ACTOR] 304 303 raise ArgumentError, 'type invalid' unless parties.include? type 305 304 @type = type
Note:
See TracChangeset
for help on using the changeset viewer.