Class: GPhoto2::Entry
- Inherits:
-
Object
- Object
- GPhoto2::Entry
- Includes:
- FFI::GPhoto2
- Defined in:
- lib/gphoto2/entry.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 Method Summary collapse
-
#initialize(camera_list, index) ⇒ Entry
constructor
A new instance of Entry.
- #name ⇒ String
- #value ⇒ String
Constructor Details
#initialize(camera_list, index) ⇒ Entry
Returns a new instance of Entry.
5 6 7 8 |
# File 'lib/gphoto2/entry.rb', line 5 def initialize(camera_list, index) @camera_list = camera_list @index = index end |
Instance Method Details
#name ⇒ String
11 12 13 |
# File 'lib/gphoto2/entry.rb', line 11 def name get_name end |
#value ⇒ String
16 17 18 |
# File 'lib/gphoto2/entry.rb', line 16 def value get_value end |