Class: Transit::WriteHandlers::UriHandler

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

Instance Method Summary collapse

Instance Method Details

#rep(u) ⇒ Object


344
# File 'lib/transit/write_handlers.rb', line 344

def rep(u) u.to_s end

#string_rep(u) ⇒ Object


345
# File 'lib/transit/write_handlers.rb', line 345

def string_rep(u) rep(u) end

#tag(_) ⇒ Object


343
# File 'lib/transit/write_handlers.rb', line 343

def tag(_) "r" end