Exception: DependencyRbbtException
- Inherits:
-
RbbtException
- Object
- StandardError
- RbbtException
- DependencyRbbtException
- Defined in:
- lib/rbbt/util/misc/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg) ⇒ DependencyRbbtException
constructor
A new instance of DependencyRbbtException.
Constructor Details
#initialize(msg) ⇒ DependencyRbbtException
Returns a new instance of DependencyRbbtException.
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/rbbt/util/misc/exceptions.rb', line 45 def initialize(msg) if defined? Step and Step === msg step = msg new_msg = nil new_msg = [step.path, step..last] * ": " super(new_msg) else super(msg) end end |