Sha256: 51464250a3d118a92f3bbff407cb98e92f7ae0a2e562c156ae07f6b450a0520e
Contents?: true
Size: 706 Bytes
Versions: 1
Compression:
Stored size: 706 Bytes
Contents
require_relative 'puppet-repl/cli' require_relative 'version' require 'awesome_print' require_relative 'awesome_print/ext/awesome_puppet' require_relative 'trollop' # monkey patch in some color effects string methods class String def red; "\033[31m#{self}\033[0m" end def green; "\033[32m#{self}\033[0m" end def cyan; "\033[36m#{self}\033[0m" end def yellow; "\033[33m#{self}\033[0m" end def warning; yellow end def fatal; red end def info; green end def camel_case return self if self !~ /_/ && self =~ /[A-Z]+.*/ split('_').map(&:capitalize).join end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puppet-repl-0.1.1 | lib/puppet-repl.rb |