Sha256: 9b86e7e362f426ae2cacca18f3b4e03f66d257e906c89e01ccfcb0e702824729

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

require "rails/generators"

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

        def create_initializer
          template "nsq_initializer.rb", "config/initializers/ahoy.rb"
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ahoy_matey-1.6.1 lib/generators/ahoy/stores/nsq_generator.rb
ahoy_matey-1.6.0 lib/generators/ahoy/stores/nsq_generator.rb
ahoy_matey-1.5.5 lib/generators/ahoy/stores/nsq_generator.rb