Sha256: 949fbe49aae0aed96dadaa943a184ecd206a05f702126a9bb85dfd968c5fa81b

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

require 'rails/generators/base'

module Hibachi
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Installs Hibachi to this Rails app"
      source_root File.expand_path("../../templates", __FILE__)

      def copy_initializer
        template 'hibachi.rb', 'config/initializers/hibachi.rb'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hibachi-0.0.1 lib/generators/hibachi/install_generator.rb
hibachi-0.0.1.pre lib/generators/hibachi/install_generator.rb