class DataMapper::Query::Operator

Attributes

operator[R]

@api private

target[R]

@api private

Public Class Methods

new(target, operator) click to toggle source

@api private

# File lib/dm-core/query/operator.rb, line 30
def initialize(target, operator)
  @target, @operator = target, operator.to_sym
end

Public Instance Methods

inspect() click to toggle source

@api private

# File lib/dm-core/query/operator.rb, line 23
def inspect
  "#<#{self.class.name} @target=#{target.inspect} @operator=#{operator.inspect}>"
end