Sha256: b6c5851eb750713b51d19c028defa94d799a0e795ce90c4fd8c74e89ac75690b

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 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'.freeze, 'config/initializers/active_orm.rb'.freeze)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_orm-2.4.0 lib/generators/active_orm/install_generator.rb
active_orm-2.3.0 lib/generators/active_orm/install_generator.rb