Class: Boiler::Generator::Touchup
- Defined in:
- lib/boiler/generator/touchup.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Boiler::Generator::Base
Instance Method Details
#execute ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/boiler/generator/touchup.rb', line 5 def execute raise "Must provide a base directory" unless directory = @arguments.first @directory = directory # Ensure that these files exist gemspec = get_gemspec rakefile = get_rakefile gemfile = get_gemfile license, owner = get_license modify_gemspec(gemspec) modify_rakefile(rakefile) modify_gemfile(gemfile) modify_license(license, owner) end |