class Findable::Generators::InstallGenerator

Public Instance Methods

create_seed_dir() click to toggle source
# File lib/generators/findable/install_generator.rb, line 7
def create_seed_dir
  create_file File.join("db", "findable_seeds", ".keep")
end
install_findable_files() click to toggle source
# File lib/generators/findable/install_generator.rb, line 12
def install_findable_files
  template "seeds.rb", "db/findable_seeds.rb"
  template "findable.rb", "config/initializers/findable.rb"
end