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.
5 6 7 8 |
# File 'lib/rake/rule_recursion_overflow_error.rb', line 5 def initialize(*args) super @targets = [] end |
Instance Method Details
#add_target(target) ⇒ Object
10 11 12 |
# File 'lib/rake/rule_recursion_overflow_error.rb', line 10 def add_target(target) @targets << target end |
#message ⇒ Object
14 15 16 |
# File 'lib/rake/rule_recursion_overflow_error.rb', line 14 def super + ": [" + @targets.reverse.join(" => ") + "]" end |