Class: DataMapper::Query::Operator
- Inherits:
-
Object
- Object
- DataMapper::Query::Operator
- Extended by:
- Equalizer
- Includes:
- Assertions
- Defined in:
- lib/dm-core/query/operator.rb
Direct Known Subclasses
Instance Attribute Summary collapse
- #operator ⇒ Object readonly private
- #target ⇒ Object readonly private
Instance Method Summary collapse
- #inspect ⇒ Object private
Methods included from Equalizer
Methods included from Assertions
Instance Attribute Details
#operator ⇒ Object (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 |
#target ⇒ Object (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
#inspect ⇒ Object
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 |