Class: Transit::WriteHandlers::VerboseTimeHandler
- Inherits:
-
Object
- Object
- Transit::WriteHandlers::VerboseTimeHandler
show all
- Defined in:
- lib/transit/write_handlers.rb
Instance Method Summary
collapse
Instance Method Details
#rep(t) ⇒ Object
307
308
309
310
|
# File 'lib/transit/write_handlers.rb', line 307
def rep(t)
t.getutc.strftime(Transit::TIME_FORMAT)
end
|
#string_rep(t) ⇒ Object
311
|
# File 'lib/transit/write_handlers.rb', line 311
def string_rep(t) rep(t) end
|
#tag(_) ⇒ Object
306
|
# File 'lib/transit/write_handlers.rb', line 306
def tag(_) "t" end
|