Sha256: 5b9bacecf106f1058fb3d23cf723584c0784686bf2a2b44c13c066a10fe83ab6

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

module MethodTracer
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.dirname(__FILE__) + '/templates'
      desc 'Installs initializer'

      def install
        template 'initializer.rb', 'config/initializers/method_tracer.rb'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
method_call_tracer-1.0.0 lib/generators/method_tracer/install_generator.rb
method_call_tracer-0.2.0 lib/generators/method_tracer/install_generator.rb
method_call_tracer-0.1.0 lib/generators/method_tracer/install_generator.rb