Sha256: 221cfa30b3fffb3b7cdecaf031a2331db78c79fc7c50f70841d091c0cf2c36f0

Contents?: true

Size: 256 Bytes

Versions: 3

Compression:

Stored size: 256 Bytes

Contents

module Rubocop
  module Ruby22
    class Railtie < Rails::Railtie
      railtie_name :rubocop_ruby2_2

      if Rails.env.test? || Rails.env.development?
        rake_tasks do
          Rubocop::Ruby22.install_tasks
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubocop-ruby2_2-2.0.5 lib/rubocop/ruby2_2/railtie.rb
rubocop-ruby2_2-2.0.4 lib/rubocop/ruby2_2/railtie.rb
rubocop-ruby2_2-2.0.3 lib/rubocop/ruby2_2/railtie.rb