module Pushwagner
Constants
- VERSION
Public Class Methods
begin_info(str)
click to toggle source
# File lib/pushwagner/util.rb, line 13 def self.begin_info(str) print str.trunc(99).ljust(101, ".").colorize(mode: :bold) end
info(str)
click to toggle source
# File lib/pushwagner/util.rb, line 17 def self.info(str) puts str.trunc(99).colorize(mode: :bold) end
ok()
click to toggle source
# File lib/pushwagner/util.rb, line 5 def self.ok puts '[ ' + 'OK'.colorize(:green) + ' ]' end
severe(str)
click to toggle source
# File lib/pushwagner/util.rb, line 9 def self.severe(str) puts str.trunc(99).colorize(color: :red, mode: :bold) end
warning(str)
click to toggle source
# File lib/pushwagner/util.rb, line 21 def self.warning(str) puts str.trunc(99).colorize(color: :yellow) end