Class: GitGuts::Inception
- Inherits:
-
Thor::GitGroup
- Object
- Group
- Thor::GitGroup
- GitGuts::Inception
- Defined in:
- lib/git_guts/inception.rb
Constant Summary
Constants inherited from Thor::GitGroup
Instance Method Summary collapse
Methods inherited from Thor::GitGroup
Instance Method Details
#inception ⇒ Object
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 |