Exception: Flame::Errors::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.



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

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

Instance Method Details

#messageObject



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

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