Class: Transit::WriteHandlers::TransitSymbolHandler

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

Instance Method Summary collapse

Instance Method Details

#rep(s) ⇒ Object


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

def rep(s) s.to_s end

#string_rep(s) ⇒ Object


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

def string_rep(s) rep(s) end

#tag(_) ⇒ Object


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

def tag(_) "$" end