class Transit::Rails::TimeWithZoneHandler

Public Class Methods

new() click to toggle source
# File lib/transit/rails/handlers.rb, line 4
def initialize
  @h = Transit::WriteHandlers::TimeHandler.new
end

Public Instance Methods

rep(o) click to toggle source
# File lib/transit/rails/handlers.rb, line 12
def rep(o)
  @h.rep(o)
end
string_rep(o) click to toggle source
# File lib/transit/rails/handlers.rb, line 16
def string_rep(o)
  @h.string_rep(o.to_time)
end
tag(o) click to toggle source
# File lib/transit/rails/handlers.rb, line 8
def tag(o)
  @h.tag(o)
end
verbose_handler() click to toggle source
# File lib/transit/rails/handlers.rb, line 20
def verbose_handler() VerboseTimeWithZoneHandler.new end