lib/generators/schemable/install_generator.rb in schemable-0.1.2 vs lib/generators/schemable/install_generator.rb in schemable-0.1.3
- old
+ new
@@ -2,11 +2,11 @@
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../../templates', __dir__)
class_option :model_name, type: :string, default: 'Model', desc: 'Name of the model'
- def initialize(*)
- super(*)
+ def initialize(*args)
+ super(*args)
end
def copy_initializer
target_path = 'spec/swagger/common_definitions.rb'