Top Level Namespace
Defined Under Namespace
Modules: CocoapodsDocstats, HashInit, Pod Classes: Array
Instance Method Summary collapse
-
#command(command_to_run) ⇒ Object
allow logging of terminal commands.
-
#vputs(text) ⇒ Object
a nice puts.
Instance Method Details
#command(command_to_run) ⇒ Object
allow logging of terminal commands
3 4 5 6 |
# File 'lib/_utils.rb', line 3 def command command_to_run puts " " + command_to_run.yellow if $log_all_terminal_commands system command_to_run end |
#vputs(text) ⇒ Object
a nice puts
10 11 12 |
# File 'lib/_utils.rb', line 10 def vputs text puts text.green if $verbose end |