class Transit::WriteHandlers::RationalHandler

Public Instance Methods

rep(r) click to toggle source
# File lib/transit/write_handlers.rb, line 270
def rep(r) [r.numerator, r.denominator] end
string_rep(_) click to toggle source
# File lib/transit/write_handlers.rb, line 271
def string_rep(_) nil end
tag(_) click to toggle source
# File lib/transit/write_handlers.rb, line 269
def tag(_) "ratio" end