Top Level Namespace
Defined Under Namespace
Classes: AssetsVersion
Instance Method Summary collapse
-
#alert_user(message, options = {}) ⇒ Object
This method is to help format messages to the user in a more recognizable way.
Instance Method Details
#alert_user(message, options = {}) ⇒ Object
This method is to help format messages to the user in a more recognizable way
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/thunder_punch/utilities/utilities.rb', line 2 def alert_user(, ={}) abort = .delete(:abort) || false = <<-EOF \n\n *******************************************************************\n #{} \n ******************************************************************* \n\n EOF if abort abort() else puts end end |