Class: Stitches::UpdateConfigurationGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Stitches::UpdateConfigurationGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/stitches/update_configuration_generator.rb
Instance Method Summary collapse
Instance Method Details
#update_to_allowlist ⇒ Object
10 11 12 13 |
# File 'lib/stitches/update_configuration_generator.rb', line 10 def update_to_allowlist gsub_file "config/initializers/stitches.rb", /whitelist/, "allowlist" puts "🎉 You are now good to go!" end |