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