vendor/plugins/tztime/lib/tz_time.rb
# Make sure the TzTime class itself responds like the Time class.
Make sure the TzTime class itself responds like the Time class.
Make sure the TzTime class itself responds like the Time class .
def method_missing(sym, *args, &block)
      result = Time.send(sym, *args, &block)
      result = new(result, zone) if result.is_a?(Time)
      result
    end
def method_missing ( sym , * args , & block ) result = Time . send ( sym , * args , & block ) result = new ( result , zone ) if result . is_a? ( Time ) result end
Make sure the TzTime class itself responds like the Time class.
Make sure the TzTime class itself responds like the Time class .
sym
<not_specific>
args
<not_specific>
block
<not_specific>