Sha256: 46cca94b8d7735e5d7d958a4a6d270e85e32e2045a9ded848fb0212ca6926f34

Contents?: true

Size: 301 Bytes

Versions: 7

Compression:

Stored size: 301 Bytes

Contents

require "rails/generators"

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

      def copy_templates
        template "base_store_initializer.rb", "config/initializers/ahoy.rb"
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ahoy_matey-3.0.0 lib/generators/ahoy/base_generator.rb
ahoy_matey-2.2.1 lib/generators/ahoy/base_generator.rb
ahoy_matey-2.2.0 lib/generators/ahoy/base_generator.rb
ahoy_matey-2.1.0 lib/generators/ahoy/base_generator.rb
ahoy_matey-2.0.2 lib/generators/ahoy/base_generator.rb
ahoy_matey-2.0.1 lib/generators/ahoy/base_generator.rb
ahoy_matey-2.0.0 lib/generators/ahoy/base_generator.rb