Sha256: 7176c8951ace28e3716654e92e06d38ba8392539a45c813dfc461b6fed0bc964

Contents?: true

Size: 260 Bytes

Versions: 10

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

require "boxt_ruby_style_guide/version"

module BoxtRubyStyleGuide
  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

10 entries across 10 versions & 1 rubygems

Version Path
boxt_ruby_style_guide-9.4.2 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-9.4.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-9.4.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-9.3.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-9.3.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-9.2.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-9.2.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-9.1.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-9.1.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-9.0.2 lib/boxt_ruby_style_guide.rb