Exception: Flame::Errors::ArgumentNotAssignedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/flame/errors/argument_not_assigned_error.rb

Overview

Error for Flame::Dispatcher.path_to

Instance Method Summary collapse

Constructor Details

#initialize(path, argument) ⇒ ArgumentNotAssignedError

Returns a new instance of ArgumentNotAssignedError.



7
8
9
10
# File 'lib/flame/errors/argument_not_assigned_error.rb', line 7

def initialize(path, argument)
	@path = path
	@argument = argument
end

Instance Method Details

#messageObject



12
13
14
# File 'lib/flame/errors/argument_not_assigned_error.rb', line 12

def message
	"Argument '#{@argument}' for path '#{@path}' is not assigned"
end