Class: Transit::WriteHandlers::UuidHandler

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

Instance Method Summary collapse

Instance Method Details

#rep(u) ⇒ Object



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

def rep(u) [u.most_significant_bits, u.least_significant_bits] end

#string_rep(u) ⇒ Object



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

def string_rep(u) u.to_s end

#tag(_) ⇒ Object



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

def tag(_) "u" end