Class: Stitches::UpdateConfigurationGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Rails::Generators::Migration
Defined in:
lib/stitches/update_configuration_generator.rb

Instance Method Summary collapse

Instance Method Details

#update_to_allowlistObject



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