Class: GPhoto2::CameraAbilitiesList
- Inherits:
-
Object
- Object
- GPhoto2::CameraAbilitiesList
show all
- Includes:
- FFI::GPhoto2, Struct
- Defined in:
- lib/gphoto2/camera_abilities_list.rb
Constant Summary
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
#ptr
Instance Method Summary
collapse
Methods included from Struct
#to_ptr
Constructor Details
Returns a new instance of CameraAbilitiesList.
7
8
9
10
11
|
# File 'lib/gphoto2/camera_abilities_list.rb', line 7
def initialize(context)
@context = context
new
load
end
|
Instance Method Details
27
28
29
|
# File 'lib/gphoto2/camera_abilities_list.rb', line 27
def at(index)
CameraAbilities.new(self, index)
end
|
14
15
16
|
# File 'lib/gphoto2/camera_abilities_list.rb', line 14
def detect
_detect
end
|
#lookup_model(model) ⇒ Integer
Also known as:
index
20
21
22
|
# File 'lib/gphoto2/camera_abilities_list.rb', line 20
def lookup_model(model)
_lookup_model(model)
end
|