Sha256: 2f6e74c681ea7a12f3a37c2c1e8ecf233206537297fbf9ea72456b9a1d58d9fc
Contents?: true
Size: 456 Bytes
Versions: 20
Compression:
Stored size: 456 Bytes
Contents
class MedicalEquipment < Entry field :manufacturer, type: String field :anatomicalStructure, type: Hash field :removalTime, type: Integer alias :anatomical_structure :anatomicalStructure alias :anatomical_structure= :anatomicalStructure= alias :removal_time :removalTime alias :removal_time= :removalTime= def shift_dates(date_diff) super self.removalTime = self.removalTime.nil? ? nil : self.removalTime + date_diff end end
Version data entries
20 entries across 20 versions & 1 rubygems