Method: Blufin::Terminal.custom_progress
- Defined in:
- lib/core/terminal.rb
.custom_progress(keyword = 'N/A', color = 1, title = nil, message = nil, preceding_blank_line = true) ⇒ Object
Displays custom message with a progress indicator. Deprecated
237 238 239 240 241 |
# File 'lib/core/terminal.rb', line 237 def self.custom_progress(keyword = 'N/A', color = 1, title = nil, = nil, preceding_blank_line = true) puts if preceding_blank_line puts " \x1B[38;5;231m\x1B[48;5;#{color}m #{keyword} \x1B[0m #{title.nil? ? '' : "\xe2\x86\x92 "}#{title}\n" () end |