Exception: MonkeyBars::PatchAlreadyPerformedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/monkey_bars/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(patcher_name) ⇒ PatchAlreadyPerformedError

Returns a new instance of PatchAlreadyPerformedError.



113
114
115
# File 'lib/monkey_bars/errors.rb', line 113

def initialize(patcher_name)
  super("[#{patcher_name}] `#patch!` has already been called and cannot be called again")
end