Class: GitPunch::Plugin
- Inherits:
-
Thor
- Object
- Thor
- GitPunch::Plugin
- Includes:
- MediaConfig, Thor::Actions
- Defined in:
- lib/git_punch/plugin.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from MediaConfig
Class Method Details
.source_root ⇒ Object
6 7 8 |
# File 'lib/git_punch/plugin.rb', line 6 def self.source_root GitPunch.template_path end |
Instance Method Details
#init ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/git_punch/plugin.rb', line 11 def init install_configuration! say %{ We strongly urge you to `gem install guard-live-set && guard init live-set` so you can automatically keep your Live set changes in Git. } if project.live? && !project.has_guard_installed? end |