method_missing(...)
public
Send the missing method to time instance, and
wrap result in a new TimeWithZone
with the existing time_zone.
Show source
def method_missing(...)
wrap_with_time_zone time.__send__(...)
rescue NoMethodError => e
raise e, e.message.sub(time.inspect, inspect).sub("Time", "ActiveSupport::TimeWithZone"), e.backtrace
end