Class: GitGuts::Inception

Inherits:
Thor::GitGroup show all
Defined in:
lib/git_guts/inception.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

#inceptionObject



4
5
6
7
8
9
10
# File 'lib/git_guts/inception.rb', line 4

def inception
  1.upto(30) do |level|
    str = "   "*(30-level) + ".git"
    puts level == 29 ? (str + " <--- 2nd Level Gitception").red : str

  end
end