Class: GraphQL::Schema::Printer::TypeKindPrinters::ScalarPrinter
- Inherits:
-
Object
- Object
- GraphQL::Schema::Printer::TypeKindPrinters::ScalarPrinter
- Extended by:
- DescriptionPrinter
- Defined in:
- lib/graphql/schema/printer.rb
Class Method Summary collapse
Methods included from DescriptionPrinter
Class Method Details
.print(type) ⇒ Object
184 185 186 187 |
# File 'lib/graphql/schema/printer.rb', line 184 def self.print(type) "#{print_description(type)}"\ "scalar #{type.name}" end |