Class: Transit::WriteHandlers::BigDecimalHandler

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

Instance Method Summary collapse

Instance Method Details

#rep(f) ⇒ Object



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

def rep(f) f.to_s("f") end

#string_rep(f) ⇒ Object



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

def string_rep(f) rep(f) end

#tag(_) ⇒ Object



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

def tag(_) "f" end