Class: Boring::Pronto::GithubAction::InstallGenerator
- Inherits:
-
BaseGenerator
- Object
- Rails::Generators::Base
- BaseGenerator
- Boring::Pronto::GithubAction::InstallGenerator
- Includes:
- BoringGenerators::GeneratorHelper
- Defined in:
- lib/generators/boring/pronto/github_action/install/install_generator.rb
Instance Method Summary collapse
Methods included from BoringGenerators::GeneratorHelper
#app_ruby_version, #bundle_install, #check_and_install_gem, #gem_installed?, #inject_into_file_if_new
Methods inherited from BaseGenerator
Instance Method Details
#add_pronto_configuration_for_github_action ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/generators/boring/pronto/github_action/install/install_generator.rb', line 17 def add_pronto_configuration_for_github_action say "Adding Pronto configurations to .github/workflows/pronto.yml", :green @ruby_version = .ruby_version || app_ruby_version template("pronto.yml", ".github/workflows/pronto.yml") end |