Class: Arel::Nodes::Addition

Inherits:
InfixOperation show all
Defined in:
lib/ransack/adapters/active_record/3.0/compat.rb

Instance Attribute Summary

Attributes inherited from InfixOperation

#operator

Instance Method Summary collapse

Methods included from Predications

#as

Constructor Details

#initialize(left, right) ⇒ Addition

Returns a new instance of Addition.



102
103
104
# File 'lib/ransack/adapters/active_record/3.0/compat.rb', line 102

def initialize left, right
  super(:+, left, right)
end