Class: BabySqueel::Nodes::Binary

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

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) ⇒ Binary

Returns a new instance of Binary.



6
7
8
9
# File 'lib/baby_squeel/nodes/binary.rb', line 6

def initialize(node)
  super
  node.extend Arel::AliasPredication
end

Dynamic Method Handling

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