Class: GraphQL::ListType
- Inherits:
-
ObjectType
- Object
- ObjectType
- GraphQL::ListType
- Defined in:
- lib/graph_ql/types/list_type.rb
Instance Attribute Summary collapse
-
#of_type ⇒ Object
readonly
Returns the value of attribute of_type.
Instance Method Summary collapse
-
#initialize(of_type:) ⇒ ListType
constructor
A new instance of ListType.
- #kind ⇒ Object
- #to_s ⇒ Object
Methods inherited from ObjectType
#fields, #fields=, #inspect, #interfaces
Methods included from Definable
Methods included from NonNullWithBang
Constructor Details
#initialize(of_type:) ⇒ ListType
Returns a new instance of ListType.
3 4 5 6 |
# File 'lib/graph_ql/types/list_type.rb', line 3 def initialize(of_type:) @name = "List" @of_type = of_type end |
Instance Attribute Details
#of_type ⇒ Object (readonly)
Returns the value of attribute of_type.
2 3 4 |
# File 'lib/graph_ql/types/list_type.rb', line 2 def of_type @of_type end |