Sha256: 66868fc21d8c430f24e8367941f312aa5bd594195ee1dab0883c91fcd8602ebd

Contents?: true

Size: 382 Bytes

Versions: 6983

Compression:

Stored size: 382 Bytes

Contents

# frozen_string_literal: true
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

Version data entries

6,983 entries across 6,871 versions & 99 rubygems

Version Path
rake-12.2.0 lib/rake/rule_recursion_overflow_error.rb
tdiary-5.0.6 vendor/bundle/gems/rake-12.1.0/lib/rake/rule_recursion_overflow_error.rb
rake-12.1.0 lib/rake/rule_recursion_overflow_error.rb