Class: Githookify::Utilities
- Inherits:
-
Object
- Object
- Githookify::Utilities
- Defined in:
- lib/githookify/utilities.rb
Class Method Summary collapse
Class Method Details
.log(text, color = :default) ⇒ Object
5 6 7 |
# File 'lib/githookify/utilities.rb', line 5 def self.log(text, color = :default) color == :default ? puts(text) : puts(text.colorize(color)) end |