class RailsServersideDatatables::NumOp
Public Class Methods
new( a, op, b )
click to toggle source
# File lib/rails_serverside_datatables/expressions.rb, line 110 def initialize( a, op, b ) f = ExprTreeNode.new( op.to_s, Type::OPERATOR ) f.add_argument CastToNumeric.new( a ) f.add_argument CastToNumeric.new( b ) @expression = f end