Exception: Citrus::NameError

Inherits:
StandardError show all
Defined in:
lib/citrus/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, index = nil, ff = false) ⇒ NameError

Returns a new instance of NameError.



22
23
24
# File 'lib/citrus/exceptions.rb', line 22

def initialize(name, index=nil, ff=false)
  super("Undefined #{ff ? "" : "local variable or "}function '#{name}")
end