Class: ActiveRecord::ConnectionAdapters::PostgreSQLFunction
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::PostgreSQLFunction
- 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.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#base ⇒ Object
Returns the value of attribute base.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(base, name, args, options = {}) ⇒ PostgreSQLFunction
constructor
:nodoc:.
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, = {}) #:nodoc: @base, @name, @args, @options = base, name, args, end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
254 255 256 |
# File 'lib/active_record/postgresql_extensions/functions.rb', line 254 def args @args end |
#base ⇒ Object
Returns the value of attribute base.
254 255 256 |
# File 'lib/active_record/postgresql_extensions/functions.rb', line 254 def base @base end |
#name ⇒ Object
Returns the value of attribute name.
254 255 256 |
# File 'lib/active_record/postgresql_extensions/functions.rb', line 254 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
254 255 256 |
# File 'lib/active_record/postgresql_extensions/functions.rb', line 254 def @options end |