Sha256: 637e58cf24abdda525350401d6be77f82dc36c0867bbd69f868385bae9b2d0e8

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

module Findable
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path(File.join(File.dirname(__FILE__), "templates"))

      desc "Install Findable files"
      def install_findable_files
        template "seeds.rb", "db/findable_seeds.rb"
        template "findable.rb", "config/initializers/findable.rb"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
findable-0.0.3 lib/generators/findable/install_generator.rb
findable-0.0.2 lib/generators/findable/install_generator.rb
findable-0.0.1 lib/generators/findable/install_generator.rb