method

klass

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: PolymorphicArrayValue
klass(value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb, line 36
        def klass(value)
          case value
          when Base
            value.class
          when Relation
            value.klass
          end
        end
Register or log in to add new notes.