lib/rails/graphql/helpers/with_assignment.rb
def base_assignment_class
            if defined?(@base_class)
              @base_class = @base_class.constantize if @base_class.is_a?(String)
              @base_class
            elsif superclass.respond_to?(:base_assignment_class, true)
              superclass.send(:base_assignment_class)
            end
          end
# Find a base class using the inheritance
Find a base class using the inheritance
Find a base class using the inheritance
def base_assignment_class
            if defined?(@base_class)
              @base_class = @base_class.constantize if @base_class.is_a?(String)
              @base_class
            elsif superclass.respond_to?(:base_assignment_class, true)
              superclass.send(:base_assignment_class)
            end
          end
def base_assignment_class if defined? ( @base_class ) @base_class = @base_class . constantize if @base_class . is_a? ( String ) @base_class elsif superclass . respond_to? ( :base_assignment_class , true ) superclass . send ( :base_assignment_class ) end end
Find a base class using the inheritance
Find a base class using the inheritance