Module: GraphQL::Schema::FindInheritedValue

Included in:
GraphQL::Schema, Field, Member::BaseDSLMethods
Defined in:
lib/graphql/schema/find_inherited_value.rb

Overview

-- @requires_ancestor: Module

Class Method Summary collapse

Class Method Details

.extended(child_cls) ⇒ Object

: (Module child_cls) -> void



10
11
12
# File 'lib/graphql/schema/find_inherited_value.rb', line 10

def self.extended(child_cls)
  child_cls.singleton_class.include(GraphQL::EmptyObjects)
end

.included(child_cls) ⇒ Object

: (Module child_cls) -> void



15
16
17
# File 'lib/graphql/schema/find_inherited_value.rb', line 15

def self.included(child_cls)
  child_cls.include(GraphQL::EmptyObjects)
end