Sha256: f8d4b57c59df2bb8931a8aea386ef43a3352736c30fab4fde919fbd40b32cb03

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

require "rails/generators"

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

    def copy_initializer_file
      copy_file("install.rb", "config/initializers/active_orm.rb")
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_orm-2.2.0 lib/generators/active_orm/install_generator.rb
active_orm-2.1.0 lib/generators/active_orm/install_generator.rb