Sha256: 2c78c6b1ad2ee3453a2bb7889ee600aaa193ffd82390f48c38f332d2ba5d4e7f

Contents?: true

Size: 459 Bytes

Versions: 9

Compression:

Stored size: 459 Bytes

Contents

require "rails/generators/base"

module SimpleHelpers
  module Generators
    class InstallGenerator < Rails::Generators::Base

      namespace "simple_helpers"
      source_root File.dirname(__FILE__) + "/../../templates"

      desc "Creates a Simple Helper initializer and copy to config/initializers/simple_helpers.rb"
      def copy_initializer_file
        copy_file "initializer.rb", "config/initializers/simple_helpers.rb"
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
simple_helpers-2.0.1 lib/simple_helpers/generators.rb
simple_helpers-2.0.0 lib/simple_helpers/generators.rb
simple_helpers-2.0.0.beta lib/simple_helpers/generators.rb
simple_helpers-1.0.0 lib/simple_helpers/generators.rb
simple_helpers-0.0.5 lib/simple_helpers/generators.rb
simple_helpers-0.0.4 lib/simple_helpers/generators.rb
simple_helpers-0.0.3 lib/simple_helpers/generators.rb
simple_helpers-0.0.2 lib/simple_helpers/generators.rb
simple_helpers-0.0.1 lib/simple_helpers/generators.rb