lib/generators/plugin/plugin_generator.rb
Method create_config_file
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def create_config_file
root = "plugins/#{plural_name}"
# FIXME bug in thor?
# destination_root="#{Rails.root}/plugins/#{plural_name}"