Exception: Build::NoApplicableRule

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

Overview

Raised when no applicable rule can be found for a given process name and arguments.

Instance Method Summary collapse

Constructor Details

#initialize(name, arguments) ⇒ NoApplicableRule

Initialize with the process name and arguments that had no matching rule.



283
284
285
286
287
288
# File 'lib/build/rule.rb', line 283

def initialize(name, arguments)
	super "No applicable rule with name #{name}.* for parameters: #{arguments.inspect}"
	
	@name = name
	@arguments = arguments
end