Debian Codegraph @

rake.d/vendor/drake-0.9.2.0.3.1/lib/rake/rule_recursion_overflow_error.rb

raw
1
2 module Rake
3
4 # Error indicating a recursion overflow error in task selection.
5 class RuleRecursionOverflowError < StandardError
6 def initialize(*args)
7 super
8 @targets = []
9 end
10
11 def add_target(target)
12 @targets << target
13 end
14
15 def message
16 super + ": [" + @targets.reverse.join(' => ') + "]"
17 end
18 end
19
20 end