Sha256: 4718fdc4c9cf417417d5b23b168cefb834ec71053a526c829de7a0a336d5de16

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

require "rails/generators"

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

        def create_initializer
          template "nats_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/nats_generator.rb
ahoy_matey-1.6.0 lib/generators/ahoy/stores/nats_generator.rb
ahoy_matey-1.5.5 lib/generators/ahoy/stores/nats_generator.rb