Module: Zizu

Defined in:
lib/zizu.rb,
lib/zizu/cli.rb,
lib/zizu/gitlib.rb,
lib/zizu/version.rb,
lib/zizu/githublib.rb

Defined Under Namespace

Modules: Gitlib Classes: CLI, GithubLib

Constant Summary collapse

USER =
"stephenhu"
REPOSITORY =
"bootstrap-haml"
EXCLUDES =
[ "layout.haml", "navbar.haml", "footer.haml" ]
BOOTSTRAP =
"http://twitter.github.com/bootstrap/assets/bootstrap.zip"
VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.fatal(msg) ⇒ Object



37
38
39
40
# File 'lib/zizu.rb', line 37

def self.fatal(msg)
  puts msg.red
  exit
end

.info(msg) ⇒ Object



46
47
48
# File 'lib/zizu.rb', line 46

def self.info(msg)
  puts msg
end

.success(msg) ⇒ Object



50
51
52
# File 'lib/zizu.rb', line 50

def self.success(msg)
  puts msg.green
end

.warning(msg) ⇒ Object



42
43
44
# File 'lib/zizu.rb', line 42

def self.warning(msg)
  puts msg.yellow
end