Class: DataMapper::Query::Operator

Inherits:
Object
  • Object
show all
Extended by:
Equalizer
Includes:
Assertions
Defined in:
lib/dm-core/query/operator.rb

Direct Known Subclasses

Direction

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Equalizer

equalize

Methods included from Assertions

#assert_kind_of

Instance Attribute Details

#operatorObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


20
21
22
# File 'lib/dm-core/query/operator.rb', line 20

def operator
  @operator
end

#targetObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


17
18
19
# File 'lib/dm-core/query/operator.rb', line 17

def target
  @target
end

Instance Method Details

#inspectObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


23
24
25
# File 'lib/dm-core/query/operator.rb', line 23

def inspect
  "#<#{self.class.name} @target=#{target.inspect} @operator=#{operator.inspect}>"
end