Sha256: b2f42e668355051e41ed79f3d0370ca697cc213645694225a4b0afcaba59868f

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

require "boxt_rubocop/version"

# Require all custom cops defined in rubocop/cop/**/*.rb
Dir[File.join(__dir__, "rubocop", "cop", "**", "*.rb")].sort.each { |file| require file }

module BoxtRubocop
  module_function

  ##
  # Provide a root path helper for the gem root dir
  #
  # Returns Pathname
  def root
    Pathname.new(File.dirname(__dir__))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
boxt_rubocop-0.0.47 lib/boxt_rubocop.rb