module RdBlog
  module Generators

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

      desc "Creates a RdBlog initializer and copy migration template files to your application."

      def copy_initializer
        template "rd_blog.rb", "config/initializers/rd_blog.rb"
      end

    end
  end
end