Sha256: 39bb6bc2bce7cbef3b63c6bb17e610f296c8565918425924471ae3347fe186c5

Contents?: true

Size: 319 Bytes

Versions: 33

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

require "boxt_ruby_style_guide/railtie" if defined?(Rails)
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

33 entries across 33 versions & 1 rubygems

Version Path
boxt_ruby_style_guide-9.0.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-9.0.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.6.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.5.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.5.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.4.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.4.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.3.6 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.3.5 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.3.4 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.3.3 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.3.2 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.3.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.3.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.2.3 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.2.2 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.2.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.2.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.1.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-8.1.0 lib/boxt_ruby_style_guide.rb