Sha256: 63aa0d1b78943bc555857b1c138ac37dc9881bef838bfa53b0e84a180e7d3975

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

require "rails/generators"

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

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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_object-3.1.0 lib/generators/active_object/install_generator.rb
active_object-3.0.0 lib/generators/active_object/install_generator.rb