Class: GraphQL::Schema::Printer::TypeKindPrinters::InterfacePrinter
- Inherits:
-
Object
- Object
- GraphQL::Schema::Printer::TypeKindPrinters::InterfacePrinter
- Extended by:
- FieldPrinter
- Defined in:
- lib/graphql/schema/printer.rb
Class Method Summary collapse
Methods included from FieldPrinter
Methods included from ArgsPrinter
#print_args, #print_input_value, #print_value
Methods included from DeprecatedPrinter
Class Method Details
.print(type) ⇒ Object
169 170 171 |
# File 'lib/graphql/schema/printer.rb', line 169 def self.print(type) "interface #{type.name} {\n#{print_fields(type)}\n}" end |