Exception: Flame::ArgumentNotAssignedError

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

Overview

Error for Flame::Controller.path_to

Instance Method Summary collapse

Constructor Details

#initialize(path, path_part) ⇒ ArgumentNotAssignedError

Returns a new instance of ArgumentNotAssignedError.



71
72
73
74
# File 'lib/flame/errors.rb', line 71

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

Instance Method Details

#messageObject



76
77
78
# File 'lib/flame/errors.rb', line 76

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