Class: Transit::WriteHandlers::ByteArrayHandler

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

Instance Method Summary collapse

Instance Method Details

#rep(b) ⇒ Object



357
358
359
# File 'lib/transit/write_handlers.rb', line 357

def rep(b)
  b.value.to_java_bytes
end

#string_rep(b) ⇒ Object



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

def string_rep(b) rep(b) end

#tag(_) ⇒ Object



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

def tag(_) "b" end