class Buff::Ignore::IgnoreFileNotFound

Raised when an ignore file cannot be found

Public Class Methods

new(path) click to toggle source

@param [String] path

the path where the ignore file was not found
# File lib/buff/ignore/errors.rb, line 9
def initialize(path)
  @path = path
end

Public Instance Methods

to_s() click to toggle source

@return [String]

# File lib/buff/ignore/errors.rb, line 14
def to_s
  "No ignore file found at '#{File.expand_path(@path)}'!"
rescue
  "No ignore file found at '#{@path}'!"
end