lib/rails/graphql/source.rb
def inherited(subclass)
          subclass.abstract = false
          super if defined? super

          pending[subclass] ||= caller(1).find do |item|
            !item.end_with?("`inherited'")
          end
        end
# Wait the end of the class in order to create the objects
Wait the end of the class in order to create the objects
Wait the end of the class in order to create the objects
def inherited(subclass)
          subclass.abstract = false
          super if defined? super
          pending[subclass] ||= caller(1).find do |item|
            !item.end_with?("`inherited'")
          end
        end
def inherited ( subclass ) subclass . abstract = false super if defined? super pending [ subclass ] ||= caller ( 1 ) . find do | item | ! item . end_with? ( "`inherited'" ) end end
Wait the end of the class in order to create the objects
Wait the end of the class in order to create the objects
subclass