Package io.cucumber.gherkin.utils.pretty
Class Pretty
- java.lang.Object
-
- io.cucumber.gherkin.utils.pretty.Pretty
-
public class Pretty extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringprettyPrint(io.cucumber.messages.types.GherkinDocument gherkinDocument, Syntax syntax)Pretty print a GherkinDocument as either markdown or gherkin.
-
-
-
Method Detail
-
prettyPrint
public static String prettyPrint(io.cucumber.messages.types.GherkinDocument gherkinDocument, Syntax syntax)
Pretty print a GherkinDocument as either markdown or gherkin.- Parameters:
gherkinDocument- The GherkinDocument object.syntax- What syntax do you want to format to?- Returns:
- The pretty printed string representation of the Gherkin doc in the syntax indicated.
-
-