Module: BuildKit::Utilities::Console
- Defined in:
- lib/ios_build_kit/utils/console.rb
Class Method Summary collapse
- .header_msg(h) ⇒ Object
- .info_msg(m) ⇒ Object
- .success_msg(m) ⇒ Object
- .terminate_with_err(err) ⇒ Object
- .warning_msg(m) ⇒ Object
Class Method Details
.header_msg(h) ⇒ Object
10 11 12 |
# File 'lib/ios_build_kit/utils/console.rb', line 10 def self.header_msg h pa "#{spaces}#{h}#{end_msg}", :black, :bold, :underline end |
.info_msg(m) ⇒ Object
14 15 16 |
# File 'lib/ios_build_kit/utils/console.rb', line 14 def self.info_msg m pa "#{begin_msg}#{m}#{end_msg}", :blue end |
.success_msg(m) ⇒ Object
22 23 24 |
# File 'lib/ios_build_kit/utils/console.rb', line 22 def self.success_msg m pa "#{begin_msg}#{m}#{end_msg}", :green end |
.terminate_with_err(err) ⇒ Object
26 27 28 29 |
# File 'lib/ios_build_kit/utils/console.rb', line 26 def self.terminate_with_err err pa "#{begin_msg}💣 Terminating with error: #{err} 💣#{end_msg}", :red exit end |
.warning_msg(m) ⇒ Object
18 19 20 |
# File 'lib/ios_build_kit/utils/console.rb', line 18 def self.warning_msg m pa "#{begin_msg}#{m}#{end_msg}", :yellow end |