/tools/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/rule_recursion_overflow_error.rb
http://github.com/agross/netopenspace · Ruby · 20 lines · 14 code · 5 blank · 1 comment · 0 complexity · e8e274341240b4b7348aa77aac20557b MD5 · raw file
- module Rake
- # Error indicating a recursion overflow error in task selection.
- class RuleRecursionOverflowError < StandardError
- def initialize(*args)
- super
- @targets = []
- end
- def add_target(target)
- @targets << target
- end
- def message
- super + ": [" + @targets.reverse.join(' => ') + "]"
- end
- end
- end