Module: Pbind::UI
- Defined in:
- lib/pbind/user_interface.rb
Class Method Summary collapse
Class Method Details
.notice(message) ⇒ Object
17 18 19 20 |
# File 'lib/pbind/user_interface.rb', line 17 def notice() puts '' puts "[!] #{}".green end |
.section(title) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/pbind/user_interface.rb', line 8 def section(title) = "%-64s" % title print .yellow yield if block_given? puts '[ OK ]'.green end |