Sha256: b3db67c68b7923fa0e1ceee435acb4739b0b1fbb177f4ddf22f3e565748f0b20

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

module Rubocop
  module Ruby18
    class Railtie < Rails::Railtie
      railtie_name :rubocop_ruby1_8

      if Rails.env.test? || Rails.env.development?
        rake_tasks do
          path = File.expand_path(__dir__)
          Dir.glob("#{path}/rakelib/**/*.rake").each { |f| load f }
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-ruby1_8-1.0.4 lib/rubocop/ruby1_8/railtie.rb
rubocop-ruby1_8-1.0.3 lib/rubocop/ruby1_8/railtie.rb