Sha256: 0f814919c6258118c8db38663387476d38a0140c356a63ddc8369af862dc6124

Contents?: true

Size: 364 Bytes

Versions: 20

Compression:

Stored size: 364 Bytes

Contents

require 'generators/mustache'

class Mustache
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      extend TemplatePath

      def copy_initializer_files
        copy_file "config/initializers/mustache.rb", "config/initializers/mustache.rb"
        copy_file "lib/mustache_rails.rb", "lib/mustache_rails.rb"
      end

    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rails3-generators-1.0.0 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.17.6 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.17.5 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.17.4 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.17.3 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.17.2 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.17.1 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.17.0 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.16.1 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.16.0 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.15.0 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.14.0 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.13.0 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.12.1 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.12.0 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.11.0 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.10.3 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.10.2 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.10.1 lib/generators/mustache/install/install_generator.rb
rails3-generators-0.10.0 lib/generators/mustache/install/install_generator.rb