Sha256: e16248d9c74954fe2d6ec18c2eda2e611737fcc2ae70d4ceb62d9578cb63138b

Contents?: true

Size: 362 Bytes

Versions: 7

Compression:

Stored size: 362 Bytes

Contents

module ActiveEnum
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Copy ActiveEnum default files"
      source_root File.expand_path('../templates', __FILE__)
      class_option :template_engine

      def copy_initializers
        copy_file 'active_enum.rb', 'config/initializers/active_enum.rb'
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_enum-0.9.7 lib/generators/active_enum/install_generator.rb
active_enum-0.9.6 lib/generators/active_enum/install_generator.rb
active_enum-0.9.5 lib/generators/active_enum/install_generator.rb
active_enum-0.9.4 lib/generators/active_enum/install_generator.rb
active_enum-0.9.3 lib/generators/active_enum/install_generator.rb
active_enum-0.9.1 lib/generators/active_enum/install_generator.rb
active_enum-0.9.0 lib/generators/active_enum/install_generator.rb