Exception: Rake::RuleRecursionOverflowError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rake.rb

Overview

Error indicating a recursion overflow error in task selection.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ RuleRecursionOverflowError

Returns a new instance of RuleRecursionOverflowError.



250
251
252
253
# File 'lib/rake.rb', line 250

def initialize(*args)
  super
  @targets = []
end

Instance Method Details

#add_target(target) ⇒ Object



255
256
257
# File 'lib/rake.rb', line 255

def add_target(target)
  @targets << target
end

#messageObject



259
260
261
# File 'lib/rake.rb', line 259

def message
  super + ": [" + @targets.reverse.join(' => ') + "]"
end