Method: SQLite3::Database::FunctionProxy#initialize

Defined in:
lib/sqlite3/database.rb

#initializeFunctionProxy

Create a new FunctionProxy that encapsulates the given func object. If context is non-nil, the functions context will be set to that. If it is non-nil, it must quack like a Hash. If it is nil, then none of the context functions will be available.



551
552
553
554
# File 'lib/sqlite3/database.rb', line 551

def initialize
  @result   = nil
  @context  = {}
end