Class: GraphQL::Schema::Printer::TypeKindPrinters::ScalarPrinter
- Inherits:
-
Object
- Object
- GraphQL::Schema::Printer::TypeKindPrinters::ScalarPrinter
- Defined in:
- lib/graphql/schema/printer.rb
Class Method Summary collapse
Class Method Details
.print(type) ⇒ Object
150 151 152 |
# File 'lib/graphql/schema/printer.rb', line 150 def self.print(type) "scalar #{type.name}" end |