Class: Krypt::FFI::Digest::NativeHandle

Inherits:
Object
  • Object
show all
Defined in:
lib/krypt/provider/ffi/digest.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(container, interface) ⇒ NativeHandle

Returns a new instance of NativeHandle.



219
220
221
222
# File 'lib/krypt/provider/ffi/digest.rb', line 219

def initialize(container, interface)
  @container = container
  @interface = interface
end

Instance Attribute Details

#containerObject (readonly)

Returns the value of attribute container.



216
217
218
# File 'lib/krypt/provider/ffi/digest.rb', line 216

def container
  @container
end

#interfaceObject (readonly)

Returns the value of attribute interface.



217
218
219
# File 'lib/krypt/provider/ffi/digest.rb', line 217

def interface
  @interface
end