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.



105
106
107
# File 'lib/ransack/adapters/active_record/3.0/compat.rb', line 105

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