Sha256: 6d7b5236142cbc8c8b190c16216b9247384567b69b589a82f34b8b6cc69b4f8e

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

require 'rails/generators'
require 'rails_newsfeed/railtie'

module RailsNewsfeed
  class ConfigGenerator < Rails::Generators::Base
    desc 'This generator creates the config/cassandra.xml file to config cassandra server for newsfeed'
    source_root File.expand_path('../templates', __FILE__)
    def process
      template 'config/cassandra.yml'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_newsfeed-0.0.4 lib/generators/rails_newsfeed/config_generator.rb