Method: Mongo::Crypt::Binary#ref

Defined in:
lib/mongo/crypt/binary.rb

#refFFI::Pointer

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the reference to the underlying mongocrypt_binary_t object

Returns:

  • (FFI::Pointer)

    The underlying mongocrypt_binary_t object



139
140
141
# File 'lib/mongo/crypt/binary.rb', line 139

def ref
  @bin
end