Class: Arel::Nodes::Subtraction

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

Returns a new instance of Subtraction.



108
109
110
# File 'lib/ransack/adapters/active_record/3.0/compat.rb', line 108

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