Class: ActiveRecord::ConnectionAdapters::PostgreSQLFunction

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/postgresql_extensions/functions.rb

Overview

This is a base class for our PostgreSQL function classes. You don’t want to be accessing this class directly.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(base, name, args, options = {}) ⇒ PostgreSQLFunction

:nodoc:



256
257
258
# File 'lib/active_record/postgresql_extensions/functions.rb', line 256

def initialize(base, name, args, options = {}) #:nodoc:
  @base, @name, @args, @options = base, name, args, options
end

Instance Attribute Details

#argsObject

Returns the value of attribute args.



254
255
256
# File 'lib/active_record/postgresql_extensions/functions.rb', line 254

def args
  @args
end

#baseObject

Returns the value of attribute base.



254
255
256
# File 'lib/active_record/postgresql_extensions/functions.rb', line 254

def base
  @base
end

#nameObject

Returns the value of attribute name.



254
255
256
# File 'lib/active_record/postgresql_extensions/functions.rb', line 254

def name
  @name
end

#optionsObject

Returns the value of attribute options.



254
255
256
# File 'lib/active_record/postgresql_extensions/functions.rb', line 254

def options
  @options
end