Class: Transit::Rails::VerboseTimeWithZoneHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/transit/rails/handlers.rb

Instance Method Summary collapse

Constructor Details

#initializeVerboseTimeWithZoneHandler

Returns a new instance of VerboseTimeWithZoneHandler.



24
25
26
# File 'lib/transit/rails/handlers.rb', line 24

def initialize
  @h = Transit::WriteHandlers::VerboseTimeHandler.new
end

Instance Method Details

#rep(o) ⇒ Object



32
33
34
# File 'lib/transit/rails/handlers.rb', line 32

def rep(o)
  @h.rep(o)
end

#string_rep(o) ⇒ Object



36
37
38
# File 'lib/transit/rails/handlers.rb', line 36

def string_rep(o)
  @h.string_rep(o.to_time)
end

#tag(o) ⇒ Object



28
29
30
# File 'lib/transit/rails/handlers.rb', line 28

def tag(o)
  @h.tag(o)
end