Sha256: afa03468c97a726f894fca9bd9c1934635764d80e3262bf4f22a965fc848ad9f

Contents?: true

Size: 463 Bytes

Versions: 15

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

module AnnotateRb
  module Core
    class << self
      def version
        @version ||= File.read(File.expand_path("../../VERSION", __dir__)).strip
      end

      def load_rake_tasks
        return if @load_rake_tasks

        rake_tasks = Dir[File.join(File.dirname(__FILE__), "tasks", "**/*.rake")]

        rake_tasks.each do |task|
          load task
        end

        @load_rake_tasks = true
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
annotaterb-4.13.0 lib/annotate_rb/core.rb
annotaterb-4.12.0 lib/annotate_rb/core.rb
annotaterb-4.11.0 lib/annotate_rb/core.rb
annotaterb-4.10.2 lib/annotate_rb/core.rb
annotaterb-4.10.1 lib/annotate_rb/core.rb
annotaterb-4.10.0 lib/annotate_rb/core.rb
annotaterb-4.9.0 lib/annotate_rb/core.rb
annotaterb-4.7.0 lib/annotate_rb/core.rb
annotaterb-4.6.0 lib/annotate_rb/core.rb
annotaterb-4.5.0 lib/annotate_rb/core.rb
annotaterb-4.4.1 lib/annotate_rb/core.rb
annotaterb-4.4.0 lib/annotate_rb/core.rb
annotaterb-4.3.1 lib/annotate_rb/core.rb
annotaterb-4.3.0 lib/annotate_rb/core.rb
annotaterb-4.2.0 lib/annotate_rb/core.rb