lib/parker.rb
# Returns pretty coloured string for command line
# @returns [String]
Returns pretty coloured string for command line
Returns pretty coloured string for command line
def cli_message(client = '')
      message = 'Message sent to '.green
      message += "#{ENV["#{client.upcase}_ROOM"]}".yellow.bold
      message += ' @ '.green
      message += "#{Time.now}".yellow
      message
    end
def cli_message ( client = '' ) message = 'Message sent to ' . green message += "#{ENV["#{client.upcase}_ROOM"]}" . yellow . bold message += ' @ ' . green message += "#{Time.now}" . yellow message end
Returns pretty coloured string for command line
Returns pretty coloured string for command line
None
client
<not_specific>