method

klass

Importance_0
v7.1.3.4 - 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)
          if value.is_a?(Base)
            value.class
          elsif value.is_a?(Relation)
            value.klass
          end
        end
Register or log in to add new notes.