class LuckyCli::Spinner
- LuckyCli::Spinner
- Reference
- Object
Defined in:
lucky_cli/spinner.crConstant Summary
-
DELETE_LINE =
"\e[2K\r"
Constructors
Class Method Summary
Instance Method Summary
- #colorize_frame : Proc(String, ColoredString)
- #delete_line
- #frames(*args, **options)
- #frames(*args, **options, &)
- #io : IO
- #start : self
- #stop : self
Constructor Detail
def self.new(start_text, io = STDERR, done_text : String | ColoredString | Nil = nil, colorize_frame = ->(frame : String) do
frame.colorize.bold.green
end)
#