- Timestamp:
- Nov 17, 2009, 8:59:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/branches/0.5/lib/open_ehr/rm/composition/content/entry.rb
r353 r354 42 42 end 43 43 end 44 44 45 class AdminEntry < Entry 46 attr_reader :data 47 48 def initialize(args = { }) 49 super(args) 50 self.data = args[:data] 51 end 52 53 def data=(data) 54 raise ArgumentError, 'data are mandatory' if data.nil? 55 @data = data 56 end 57 end 45 58 class CareEntry < Entry 46 59
Note:
See TracChangeset
for help on using the changeset viewer.