lib/rails/graphql/helpers/inherited_collection.rb
def fetch_inherited_set(ivar)
            inherited_ancestors.each_with_object(Set.new) do |klass, result|
              next result unless klass.instance_variable_defined?(ivar)
              val = klass.instance_variable_get(ivar)
              result.merge(val) unless val.blank?
            end
          end
# Combine an inherited list of set objects
Combine an inherited list of set objects
Combine an inherited list of set objects
def fetch_inherited_set(ivar)
            inherited_ancestors.each_with_object(Set.new) do |klass, result|
              next result unless klass.instance_variable_defined?(ivar)
              val = klass.instance_variable_get(ivar)
              result.merge(val) unless val.blank?
            end
          end
def fetch_inherited_set ( ivar ) inherited_ancestors . each_with_object ( Set . new ) do | klass , result | next result unless klass . instance_variable_defined? ( ivar ) val = klass . instance_variable_get ( ivar ) result . merge ( val ) unless val . blank? end end
Combine an inherited list of set objects
Combine an inherited list of set objects
ivar