Sha256: ed5db60836799f15eb80924862997123db13d75d0464eb72d96013b10f6504eb

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

module Tracing
  class InitGenerator < Rails::Generators::Base
    source_root File.expand_path('templates', __dir__)

    desc 'This generator creates an initializer file at config/initializers'
    def create_initializer_file
      copy_file 'ilove_tracing.rb', 'config/initializers/ilove_tracing.rb'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ilove-tracing-0.2.0 lib/generators/tracing/init/init_generator.rb