Class: ActiveRecord::PredicateBuilder::BasicObjectHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/relation/predicate_builder/basic_object_handler.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#call(attribute, value) ⇒ Object


4
5
6
# File 'lib/active_record/relation/predicate_builder/basic_object_handler.rb', line 4

def call(attribute, value)
  attribute.eq(value)
end