Class: BunBo::FileExisted

Inherits:
BaseError show all
Defined in:
lib/bun_bo/results/file_existed.rb

Instance Method Summary collapse

Methods inherited from BaseError

#success?

Constructor Details

#initialize(path) ⇒ FileExisted

Returns a new instance of FileExisted.



5
6
7
# File 'lib/bun_bo/results/file_existed.rb', line 5

def initialize(path)
  @path = path
end

Instance Method Details

#messageObject



9
10
11
# File 'lib/bun_bo/results/file_existed.rb', line 9

def message
  "#{path} exists. No modification is applied for this file."
end