Sha256: b4a1d78f8407013510c51515b0b224563280bc52b52eb63d9d0bc9cbd3ccb791

Contents?: true

Size: 383 Bytes

Versions: 25

Compression:

Stored size: 383 Bytes

Contents

require 'rails/generators/base'

module Errdo
  module Generators
    class InstallGenerator < Rails::Generators::Base

      source_root File.expand_path("../../templates", __FILE__)

      desc "Creates an errdo initializer and sets the exceptions_app to errdo's"

      def copy_initializer
        template "errdo.rb", "config/initializers/errdo.rb"
      end

    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
errdo-0.12.14 lib/generators/errdo/install_generator.rb
errdo-0.12.13 lib/generators/errdo/install_generator.rb
errdo-0.12.12 lib/generators/errdo/install_generator.rb
errdo-0.12.11 lib/generators/errdo/install_generator.rb
errdo-0.12.10 lib/generators/errdo/install_generator.rb
errdo-0.12.9 lib/generators/errdo/install_generator.rb
errdo-0.12.8 lib/generators/errdo/install_generator.rb
errdo-0.12.7 lib/generators/errdo/install_generator.rb
errdo-0.12.6 lib/generators/errdo/install_generator.rb
errdo-0.12.5 lib/generators/errdo/install_generator.rb
errdo-0.12.4 lib/generators/errdo/install_generator.rb
errdo-0.12.3 lib/generators/errdo/install_generator.rb
errdo-0.12.2 lib/generators/errdo/install_generator.rb
errdo-0.12.1 lib/generators/errdo/install_generator.rb
errdo-0.12.0 lib/generators/errdo/install_generator.rb
errdo-0.11.6 lib/generators/errdo/install_generator.rb
errdo-0.11.5 lib/generators/errdo/install_generator.rb
errdo-0.11.4 lib/generators/errdo/install_generator.rb
errdo-0.11.3 lib/generators/errdo/install_generator.rb
errdo-0.11.2 lib/generators/errdo/install_generator.rb