Exception: Rake::RuleRecursionOverflowError
- Inherits:
-
StandardError
- Object
- StandardError
- Rake::RuleRecursionOverflowError
- Defined in:
- lib/rake/rule_recursion_overflow_error.rb
Overview
Error indicating a recursion overflow error in task selection.
Instance Method Summary collapse
- #add_target(target) ⇒ Object
-
#initialize(*args) ⇒ RuleRecursionOverflowError
constructor
A new instance of RuleRecursionOverflowError.
- #message ⇒ Object
Constructor Details
#initialize(*args) ⇒ RuleRecursionOverflowError
Returns a new instance of RuleRecursionOverflowError.
6 7 8 9 |
# File 'lib/rake/rule_recursion_overflow_error.rb', line 6 def initialize(*args) super @targets = [] end |
Instance Method Details
#add_target(target) ⇒ Object
11 12 13 |
# File 'lib/rake/rule_recursion_overflow_error.rb', line 11 def add_target(target) @targets << target end |
#message ⇒ Object
15 16 17 |
# File 'lib/rake/rule_recursion_overflow_error.rb', line 15 def super + ": [" + @targets.reverse.join(' => ') + "]" end |