class GPhoto2::CameraFolder
- GPhoto2::CameraFolder
- Reference
- Object
Defined in:
gphoto2/camera_folder.crConstructors
Instance Method Summary
-
#/(name : String) : self
See:
#cd
-
#==(other : self)
Returns
true
if this reference is the same as other. -
#cd(name : String) : self
Returns
CameraFolder
by name, relative to current#path
. -
#clear(files : Bool = true, folders : Bool = false) : Nil
Deletes all files and/or folders.
-
#delete : Nil
Deletes this folder from the camera.
-
#files : Array(CameraFile)
Lists files.
-
#folders : Array(self)
Lists folders.
-
#name : String
Returns folder name.
-
#open(name : String) : CameraFile
Returns
CameraFile
by name, relative to current#path
. -
#path : String
Returns folder path.
-
#root?
Returns
true
if folder#path
is /. - #to_s(io)
-
#up : self
Returns parent
CameraFolder
.
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
Deletes all files and/or folders.