Class DataMapper::Query::Conditions::Operation
In: lib/dm-core/query/conditions/operation.rb
Parent: Object

Methods

new   slugs  

Public Class methods

Factory method to initialize an operation

@example

  operation = Operation.new(:and, comparison)

@param [Symbol] slug

  the identifier for the operation class

@param [Array] *operands

  the operands to initialize the operation with

@return [AbstractOperation]

  the operation matching the slug

@api semipublic

Return an Array of all the slugs for the operation classes

@return [Array]

  the slugs of all the operation classes

@api private

[Validate]