lib/rails/graphql/request.rb
# This initiates a new object which is aware of extensions
This initiates a new object which is aware of extensions
This initiates a new object which is aware of extensions
def build(klass, *args, &block)
        ext_module = extensions[klass]
        obj = klass.new(*args, &block)
        obj.extend(ext_module) if ext_module
        obj
      end
def build ( klass , * args , & block ) ext_module = extensions [ klass ] obj = klass . new ( * args , & block ) obj . extend ( ext_module ) if ext_module obj end
This initiates a new object which is aware of extensions
This initiates a new object which is aware of extensions
klass
args
block