Wombat
Constants
VERSION = {{ (`shards version /tmp/tmp.KANDkF/src/src/wombat`).chomp.stringify }}
Class methods
pretty_print(input : String, language : String | Nil = nil, theme : String | Nil = nil, tab_width : Int = 4, colored_output : Bool = true, true_color : Bool = true, header : Bool = false, line_numbers : Bool = true, grid : Bool = true, rule : Bool = true, show_nonprintable : Bool = false, snip : Bool = true, wrapping_mode : Int = 1, use_italics : Bool = true, paging_mode : Int = 1, highlight_line : Int = -1) : Nil
Pretty print the input string
pretty_print_file(path : Path | String, language : String | Nil = nil, theme : String | Nil = nil, tab_width : Int = 4, colored_output : Bool = true, true_color : Bool = true, header : Bool = true, line_numbers : Bool = true, grid : Bool = true, rule : Bool = true, show_nonprintable : Bool = false, snip : Bool = true, wrapping_mode : Int = 1, use_italics : Bool = true, paging_mode : Int = 1, highlight_line : Int = -1) : Nil
Pretty print the input file
pretty_string(input : String, language : String | Nil = nil, theme : String | Nil = nil, tab_width : Int = 4, colored_output : Bool = true, true_color : Bool = true, header : Bool = false, line_numbers : Bool = true, grid : Bool = true, rule : Bool = true, show_nonprintable : Bool = false, snip : Bool = true, wrapping_mode : Int = 1, use_italics : Bool = true, paging_mode : Int = 2, highlight_line : Int = -1) : String
Get the highlighted string of the input