Class: RSGem::Tasks::SetLicenseFile
- Defined in:
- lib/rsgem/tasks/set_license_file.rb
Constant Summary collapse
- OUTPUT =
OutputStruct.new(name: 'Set license file')
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Output
Constructor Details
This class inherits a constructor from RSGem::Tasks::Base
Instance Method Details
#perform ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/rsgem/tasks/set_license_file.rb', line 8 def perform license.gsub!( /.*Copyright.*/, "Copyright (c) #{Date.today.year} Rootstrap" ) write end |