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