class GPhoto2::CameraFolder
- GPhoto2::CameraFolder
- Reference
- Object
Defined in:
gphoto2/camera_folder.crConstructors
Instance Method Summary
-
#/(name : String) : self
See:
#cd -
#==(other : self)
Returns
trueif this reference is the same as other. -
#cd(name : String) : self
Returns
CameraFolderby 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
CameraFileby name, relative to current#path. -
#path : String
Returns folder path.
-
#root?
Returns
trueif folder#pathis /. - #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.