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



266
267
268
269
# File 'lib/graphql/schema/printer.rb', line 266

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