Class: Ronin::SQL::Function
- Inherits:
-
Struct
- Object
- Struct
- Ronin::SQL::Function
- Defined in:
- lib/ronin/sql/function.rb
Overview
Represents a SQL function call.
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, *arguments) ⇒ Function
constructor
Creates a new Function object.
Methods included from Emittable
#emitter, #inspect, #to_s, #to_sql
Methods included from Operators
#!, #!=, #%, #&, #*, #+, #+@, #-, #-@, #/, #<, #<<, #<=, #==, #>, #>=, #>>, #and, #as, #glob, #in, #is, #is_not, #like, #match, #not, #or, #regexp, #|, #~
Constructor Details
#initialize(name, *arguments) ⇒ Function
Creates a new Function object.
47 48 49 |
# File 'lib/ronin/sql/function.rb', line 47 def initialize(name,*arguments) super(name,arguments) end |
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments
33 34 35 |
# File 'lib/ronin/sql/function.rb', line 33 def arguments @arguments end |
#name ⇒ Object
Returns the value of attribute name
33 34 35 |
# File 'lib/ronin/sql/function.rb', line 33 def name @name end |