class MagicRecipes::Generators::GitCapGenerator
Public Instance Methods
create_git_cap_files()
click to toggle source
# File lib/generators/magic_recipes/git_cap_generator.rb, line 23 def create_git_cap_files template "git_cap.tt", "#{ Rails.root }/git_cap" end
end_desc()
click to toggle source
# File lib/generators/magic_recipes/git_cap_generator.rb, line 28 def end_desc puts(" - - - - - - Usage: $ git_cap [git_name] [git_password] - - - - - - - -") puts(' * * * * * * * * * * * * * * * * * * * * * * * * * *') end
initial_desc()
click to toggle source
# File lib/generators/magic_recipes/git_cap_generator.rb, line 17 def initial_desc puts(' * * * * * * * * * * * * * * * * * * * * * * * * * *') puts(' - - - - - - M A G I C - R E C I P E S : git-deploy-helper - - - - - - - -') end