Class: GraphQL::Schema::Wrapper
- Inherits:
 - 
      Object
      
        
- Object
 - GraphQL::Schema::Wrapper
 
 
- Includes:
 - Member::TypeSystemHelpers
 
- Defined in:
 - lib/graphql/schema/wrapper.rb
 
Instance Attribute Summary collapse
- 
  
    
      #of_type  ⇒ Class, Module 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The inner type of this wrapping type, the type of which one or more objects may be present.
 
Instance Method Summary collapse
- 
  
    
      #==(other)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
 - 
  
    
      #initialize(of_type)  ⇒ Wrapper 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Wrapper.
 - 
  
    
      #unwrap  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
 
Methods included from Member::TypeSystemHelpers
#kind, #list?, #non_null?, #to_list_type, #to_non_null_type, #to_type_signature
Constructor Details
#initialize(of_type) ⇒ Wrapper
Returns a new instance of Wrapper.
      11 12 13  | 
    
      # File 'lib/graphql/schema/wrapper.rb', line 11 def initialize(of_type) @of_type = of_type end  | 
  
Instance Attribute Details
#of_type ⇒ Class, Module (readonly)
Returns The inner type of this wrapping type, the type of which one or more objects may be present.
      9 10 11  | 
    
      # File 'lib/graphql/schema/wrapper.rb', line 9 def of_type @of_type end  |