class String

encoding: utf-8

License

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004

(C) 2012 Roberto Hidalgo un@rob.mx

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

You just DO WHAT THE FUCK YOU WANT TO.

Public Instance Methods

bold() click to toggle source
# File lib/webpoke.rb, line 28
def bold
  "\033[1m#{self}\033[0m";
end
green() click to toggle source
# File lib/webpoke.rb, line 24
def green
  "\033[42m\033[37m#{self}\033[0m"
end
red() click to toggle source
# File lib/webpoke.rb, line 20
def red
  "\033[41m\033[37m#{self}\033[0m"
end