Sha256: b1e1ec7fb269df739a381dbd75c8b094f8d0e1b443732eb1ccf41ee83c4b115c

Contents?: true

Size: 465 Bytes

Versions: 6

Compression:

Stored size: 465 Bytes

Contents

module RailsFootnotes
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../../templates", __FILE__)

      desc "Creates and copy RailsFootnotes default files to your application."

      def copy_initializer
        template "rails_footnotes.rb", "config/initializers/rails_footnotes.rb"
      end

      def copy_dotfile
        template "rails_footnotes", ".rails_footnotes"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails-footnotes-3.7.9 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-3.7.8 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-3.7.7 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-3.7.6 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-3.7.5 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-3.7.5.rc4 lib/generators/rails_footnotes/install_generator.rb