Class: Transit::WriteHandlers::LinkHandler

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

Instance Method Summary collapse

Instance Method Details

#rep(l) ⇒ Object


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

def rep(l) l.to_h end

#string_rep(_) ⇒ Object


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

def string_rep(_) nil end

#tag(_) ⇒ Object


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

def tag(_) "link" end