Sha256: d715ab8c3825facf7b9ff7db19ebefdce3b5f9d7714b7e12f209b752d2db22bb

Contents?: true

Size: 272 Bytes

Versions: 1

Compression:

Stored size: 272 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

1 entries across 1 versions & 1 rubygems

Version Path
active_orm-3.0.0 lib/generators/active_orm/install_generator.rb