class Cmds::Navigator
- Cmds::Navigator
- Reference
- Object
Defined in:
cmds/navigator.crInstance Method Summary
- #build_descs(cmd : Cmd.class, descs : Array(Desc)) : String
- #build_examples(cmd : Cmd.class, descs : Array(Desc)) : String
-
#colorize : Bool
Turns
self
into aColorize::Object
. - #colorize=(v : Bool) : Bool
-
#colorize=(v : Nil)
nil
assignments are always ignored - #colorize? : Bool
- #default : Hash(String, String)
- #default=(v : Hash(String, String)) : Hash(String, String)
-
#default=(v : Nil)
nil
assignments are always ignored - #default? : Hash(String, String) | Nil
- #navigate(template : String, vars = Hash(String, String).new) : String
- #navigate(err : Navigatable) : String
- #program : String
- #program=(v : String) : String
-
#program=(v : Nil)
nil
assignments are always ignored - #program? : String | Nil
Instance Method Detail
def colorize : Bool
#
Description copied from module Colorize::ObjectExtensions
Turns self
into a Colorize::Object
.