Exception: MonkeyBars::NoPatchableVersionCheckError
- Inherits:
-
StandardError
- Object
- StandardError
- MonkeyBars::NoPatchableVersionCheckError
- Defined in:
- lib/monkey_bars/errors.rb
Instance Method Summary collapse
-
#initialize(patcher_name, monkey: nil) ⇒ NoPatchableVersionCheckError
constructor
A new instance of NoPatchableVersionCheckError.
Constructor Details
#initialize(patcher_name, monkey: nil) ⇒ NoPatchableVersionCheckError
Returns a new instance of NoPatchableVersionCheckError.
47 48 49 |
# File 'lib/monkey_bars/errors.rb', line 47 def initialize(patcher_name, monkey: nil) super("[#{patcher_name}] `version_check` block is missing. Without it, there's no way to know if the version of `#{monkey}` is patchable.") end |