Class: BabySqueel::Nodes::Function

Inherits:
Node
  • Object
show all
Defined in:
lib/baby_squeel/nodes/function.rb

Overview

Instance Attribute Summary

Attributes inherited from Proxy

#_arel

Instance Method Summary collapse

Methods included from Operators::ArelAliasing

#arel_alias

Methods included from Operators::Generic

#op

Methods inherited from Proxy

const_missing, #inspect, #respond_to?

Constructor Details

#initialize(node) ⇒ Function

Returns a new instance of Function.



7
8
9
10
11
# File 'lib/baby_squeel/nodes/function.rb', line 7

def initialize(node)
  super
  node.extend Arel::Math
  node.extend Arel::OrderPredications
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BabySqueel::Nodes::Proxy