--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a new Comparison instance
- !ruby/struct:SM::Flow::P 
  body: The returned instance will be suitable for matching the given subject (property or relationship) against the value.
- !ruby/struct:SM::Flow::P 
  body: "@param [Symbol] slug"
- !ruby/struct:SM::Flow::VERB 
  body: "  The type of comparison operator required. One of: :eql, :in, :gt,\n  :gte, :lt, :lte, :regexp, :like.\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Property, Associations::Relationship]"
- !ruby/struct:SM::Flow::VERB 
  body: "  The subject of the comparison - the value of the subject will be\n  matched against the given value parameter.\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Object] value"
- !ruby/struct:SM::Flow::VERB 
  body: "  The value for the comparison.\n"
- !ruby/struct:SM::Flow::P 
  body: "@return [DataMapper::Query::Conditions::AbstractComparison]"
- !ruby/struct:SM::Flow::P 
  body: "@example"
- !ruby/struct:SM::Flow::VERB 
  body: "  Comparison.new(:eql, MyClass.properties[:id], 1)\n"
- !ruby/struct:SM::Flow::P 
  body: "@api semipublic"
full_name: DataMapper::Query::Conditions::Comparison::new
is_singleton: true
name: new
params: (slug, subject, value)
visibility: public
