Class: Gemsmith::Skeletons::GitSkeleton
- Inherits:
-
BaseSkeleton
- Object
- BaseSkeleton
- Gemsmith::Skeletons::GitSkeleton
- Defined in:
- lib/gemsmith/skeletons/git_skeleton.rb
Instance Method Summary collapse
Methods inherited from BaseSkeleton
#create, #initialize, #method_missing, #respond_to?, run
Constructor Details
This class inherits a constructor from Gemsmith::Skeletons::BaseSkeleton
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Gemsmith::Skeletons::BaseSkeleton
Instance Method Details
#create_files ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/gemsmith/skeletons/git_skeleton.rb', line 4 def create_files Dir.chdir(File.join(destination_root, gem_name)) do `git init` `git add .` `git commit -a -n -m "Added Gemsmith skeleton."` end end |