Class: GraphQL::Schema::Printer::TypeKindPrinters::ScalarPrinter

Inherits:
Object
  • Object
show all
Extended by:
DescriptionPrinter
Defined in:
lib/graphql/schema/printer.rb

Class Method Summary collapse

Methods included from DescriptionPrinter

print_description

Class Method Details


184
185
186
187
# File 'lib/graphql/schema/printer.rb', line 184

def self.print(type)
  "#{print_description(type)}"\
  "scalar #{type.name}"
end