Method: Arel::Nodes::UnaryOperation#initialize
- Defined in:
- activerecord/lib/arel/nodes/unary_operation.rb
#initialize(operator, operand) ⇒ UnaryOperation
Returns a new instance of UnaryOperation.
8 9 10 11 |
# File 'activerecord/lib/arel/nodes/unary_operation.rb', line 8 def initialize(operator, operand) super(operand) @operator = operator end |