Method: Sol::ArrayCallback#get

Defined in:
lib/jx/callback.rb

#get(index) ⇒ Object



Returns:

  • a packed js object



222
223
224
# File 'lib/jx/callback.rb', line 222

def get(index)
  B.pack(@ruby_obj.send('[]', index))
end