Sha256: e49d0280238d8a6b70c6638c4fdf9a662f85949473b190aad8fb2060e7ee1558

Contents?: true

Size: 249 Bytes

Versions: 7

Compression:

Stored size: 249 Bytes

Contents

module Rehearsal
  class InitializerGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def copy_initializer_file
      copy_file "initializer.rb", "config/initializers/rehearsal.rb"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rehearsal-1.3.3 lib/generators/rehearsal/initializer/initializer_generator.rb
rehearsal-1.3.2 lib/generators/rehearsal/initializer/initializer_generator.rb
rehearsal-1.3.0 lib/generators/rehearsal/initializer/initializer_generator.rb
rehearsal-1.2.0 lib/generators/rehearsal/initializer/initializer_generator.rb
rehearsal-1.1.0 lib/generators/rehearsal/initializer/initializer_generator.rb
rehearsal-1.0.1 lib/generators/rehearsal/initializer/initializer_generator.rb
rehearsal-1.0.0 lib/generators/rehearsal/initializer/initializer_generator.rb