class Condition
Public Instance Methods
shift_dates(date_diff)
click to toggle source
Calls superclass method
Entry#shift_dates
# File lib/health-data-standards/models/condition.rb, line 18 def shift_dates(date_diff) super self.time_of_death = self.time_of_death.nil? ? nil : self.time_of_death + date_diff end