class DTK::Client::CLI::FileObj
Public Instance Methods
parent_dir()
click to toggle source
# File lib/cli/file_obj.rb, line 22 def parent_dir parent_dir? || raise(Error, "Unexpected that 'file_obj.path?' is nil") end
parent_dir?()
click to toggle source
# File lib/cli/file_obj.rb, line 26 def parent_dir? if path = path? OsUtil.parent_dir(path) end end