Sha256: 33d79b228cfce25b2fa17436bb03bc6cd04b408b12e119def24a555e8dd69722
Contents?: true
Size: 531 Bytes
Versions: 96
Compression:
Stored size: 531 Bytes
Contents
require 'albacore/paths' require 'albacore/albacore_module' module ::Rake class << self alias_method :old_original_dir, :original_dir # get the original dir that rake was called from as a string def albacore_original_dir *args ::Paths::PathnameWrap.new(old_original_dir(*args)).to_s end alias_method :original_dir, :albacore_original_dir # get the original dir that rake was called from a Pathname def original_dir_path ::Paths::PathnameWrap.new(old_original_dir()) end end end
Version data entries
96 entries across 96 versions & 1 rubygems