class FolderStash::Errors::NoDirectoryError
Error that is raised if a directory does not exist.
Attributes
dir[R]
Path for the directory that does not exist.
Public Class Methods
new(msg = nil, dir: nil)
click to toggle source
Calls superclass method
# File lib/folder_stash/errors/no_directory_error.rb, line 10 def initialize(msg = nil, dir: nil) @dir = dir msg ||= "The directory #{dir} does not exist or is not a directory" super msg end