Class: Hephaestus::LicenseGenerator
- Inherits:
-
Generators::Base
- Object
- Rails::Generators::Base
- Generators::Base
- Hephaestus::LicenseGenerator
- Defined in:
- lib/hephaestus/generators/license_generator.rb
Instance Method Summary collapse
Methods inherited from Generators::Base
default_source_root, inherited
Methods included from ExitOnFailure
Methods included from Actions
#action_mailer_asset_host, #action_mailer_host, #configure_environment, #expand_json, #gem, #replace_in_file, #replace_in_files
Instance Method Details
#generate_licenses ⇒ Object
12 13 14 |
# File 'lib/hephaestus/generators/license_generator.rb', line 12 def generate_licenses run("script/licenses --update") end |
#licensed ⇒ Object
8 9 10 |
# File 'lib/hephaestus/generators/license_generator.rb', line 8 def licensed copy_file(".licensed.yml", ".licensed.yml") end |