Class: GraphQL::Language::Printer
- Inherits:
-
Object
- Object
- GraphQL::Language::Printer
- Defined in:
- lib/graphql/language/printer.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#print(node, indent: "") ⇒ String
Turn an arbitrary AST node back into a string.
Instance Method Details
#print(node, indent: "") ⇒ String
Turn an arbitrary AST node back into a string.
27 28 29 |
# File 'lib/graphql/language/printer.rb', line 27 def print(node, indent: "") print_node(node, indent: indent) end |