lib/rails/graphql/helpers/inherited_collection.rb
# Return a list of all the ancestor classes up until object
Return a list of all the ancestor classes up until object
Return a list of all the ancestor classes up until object
def inherited_ancestors
            [self].tap do |list|
              list.unshift(list.first.superclass) until list.first.superclass === Object
            end
          end
def inherited_ancestors [ self ] . tap do | list | list . unshift ( list . first . superclass ) until list . first . superclass === Object end end
Return a list of all the ancestor classes up until object
Return a list of all the ancestor classes up until object