Class: GitGuts::About

Inherits:
Thor::GitGroup show all
Defined in:
lib/git_guts/about.rb

Constant Summary

Constants inherited from Thor::GitGroup

Thor::GitGroup::BASENAME

Instance Method Summary collapse

Methods inherited from Thor::GitGroup

basename, namespace

Instance Method Details

#aboutObject



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/git_guts/about.rb', line 6

def about
  if name.downcase != 'shadab'
    "\nSorry, I do not know this guy\n".red.slow_puts
  else
    DATA.each_line.each do |msg|
      msg.chomp.random_color.slow_puts
    end
    "\nGeography geek - ".random_color.slow_puts(:newline => false)
    sleep 1
    "Infact claims, that he can name and place all countries on the African continent\n".random_color.slow_puts
  end
end