Class: Transproc::FunctionNotFoundError
Instance Method Summary collapse
-
#initialize(function, source = nil) ⇒ FunctionNotFoundError
constructor
A new instance of FunctionNotFoundError.
Constructor Details
#initialize(function, source = nil) ⇒ FunctionNotFoundError
Returns a new instance of FunctionNotFoundError.
8 9 10 11 |
# File 'lib/transproc/error.rb', line 8 def initialize(function, source = nil) return super "No registered function #{source}[:#{function}]" if source super "No globally registered function for #{function}" end |