Class: BabySqueel::Nodes::Node
- Extended by:
- Operators::ArelAliasing
- Includes:
- Operators::Comparison, Operators::Equality, Operators::Generic, Operators::Grouping, Operators::Matching
- Defined in:
- lib/baby_squeel/nodes/node.rb
Overview
This is a generic proxy class that includes all possible modules. In the future, these proxy classes should be more specific and only include necessary/applicable modules.
Instance Attribute Summary
Attributes inherited from Proxy
Instance Method Summary collapse
-
#initialize(node) ⇒ Node
constructor
A new instance of Node.
Methods included from Operators::ArelAliasing
Methods included from Operators::Generic
Methods inherited from Proxy
const_missing, #inspect, #respond_to?
Constructor Details
#initialize(node) ⇒ Node
Returns a new instance of Node.
10 11 12 13 |
# File 'lib/baby_squeel/nodes/node.rb', line 10 def initialize(node) super node.extend Arel::Math end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class BabySqueel::Nodes::Proxy