class GraphQL::Schema::Wrapper
Attributes
of_type[R]
@return [Class, Module] The inner type of this wrapping type, the type of which one or more objects may be present.
Public Class Methods
new(of_type)
click to toggle source
# File lib/graphql/schema/wrapper.rb, line 11 def initialize(of_type) @of_type = of_type end
Public Instance Methods
==(other)
click to toggle source
# File lib/graphql/schema/wrapper.rb, line 19 def ==(other) self.class == other.class && of_type == other.of_type end
unwrap()
click to toggle source
# File lib/graphql/schema/wrapper.rb, line 15 def unwrap @of_type.unwrap end