Class: GPhoto2::Context
- Inherits:
-
Object
- Object
- GPhoto2::Context
- Includes:
- FFI::GPhoto2, Struct
- Defined in:
- lib/gphoto2/context.rb
Constant Summary
Constants included from FFI::GPhoto2
FFI::GPhoto2::CameraCaptureType, FFI::GPhoto2::CameraDriverStatus, FFI::GPhoto2::CameraEventType, FFI::GPhoto2::CameraFileAccessType, FFI::GPhoto2::CameraFileInfoFields, FFI::GPhoto2::CameraFileOperation, FFI::GPhoto2::CameraFilePermissions, FFI::GPhoto2::CameraFileStatus, FFI::GPhoto2::CameraFileType, FFI::GPhoto2::CameraFolderOperation, FFI::GPhoto2::CameraOperation, FFI::GPhoto2::CameraWidgetType, FFI::GPhoto2::GphotoDeviceType
Instance Attribute Summary
Attributes included from Struct
Instance Method Summary collapse
- #finalize ⇒ void (also: #close)
-
#initialize ⇒ Context
constructor
A new instance of Context.
Methods included from Struct
Constructor Details
#initialize ⇒ Context
Returns a new instance of Context.
6 7 8 |
# File 'lib/gphoto2/context.rb', line 6 def initialize new end |
Instance Method Details
#finalize ⇒ void Also known as: close
This method returns an undefined value.
11 12 13 |
# File 'lib/gphoto2/context.rb', line 11 def finalize unref end |