Sha256: 7fdd3b84350fd34a67d979dfd59483100535a48885331dce462a3845829a36e9

Contents?: true

Size: 414 Bytes

Versions: 27

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

require "boxt_ruby_style_guide/railtie" if defined?(Rails)
require "boxt_ruby_style_guide/version"

module BoxtRubyStyleGuide
  class << self
    def install_tasks
      Dir[File.join(gem_spec.gem_dir, "tasks/*.rake")].each do |file|
        load(file)
      end
    end

    private

    def gem_spec
      Gem::Specification.find_by_name("boxt_ruby_style_guide")
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
boxt_ruby_style_guide-7.3.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-7.2.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-7.2.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-7.1.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-6.2.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-7.1.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-6.2.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-7.0.4 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-7.0.3 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-7.0.2 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-7.0.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-7.0.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-6.1.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-6.0.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-6.0.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-5.0.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-4.5.0 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-4.4.2 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-4.4.1 lib/boxt_ruby_style_guide.rb
boxt_ruby_style_guide-4.4.0 lib/boxt_ruby_style_guide.rb