Method: GraphQL::ListType#initialize
- Defined in:
- lib/graphql/list_type.rb
#initialize(of_type:) ⇒ ListType
Returns a new instance of ListType.
29 30 31 32 |
# File 'lib/graphql/list_type.rb', line 29 def initialize(of_type:) @name = "List" @of_type = of_type end |