lib/generators/autosuggest/suggestions_generator.rb in autosuggest-0.1.3 vs lib/generators/autosuggest/suggestions_generator.rb in autosuggest-0.2.0
- old
+ new
@@ -1,7 +1,7 @@
require "rails/generators/active_record"
-class Autosuggest
+module Autosuggest
module Generators
class SuggestionsGenerator < Rails::Generators::Base
include ActiveRecord::Generators::Migration
source_root File.join(__dir__, "templates")