class Transit::WriteHandlers::VerboseTimeHandler

Public Instance Methods

rep(t) click to toggle source
# File lib/transit/write_handlers.rb, line 307
def rep(t)
  # .getutc because we don't want to modify t
  t.getutc.strftime(Transit::TIME_FORMAT)
end
string_rep(t) click to toggle source
# File lib/transit/write_handlers.rb, line 311
def string_rep(t) rep(t) end
tag(_) click to toggle source
# File lib/transit/write_handlers.rb, line 306
def tag(_) "t" end