Sha256: b387f1d325be4a4a6b010cb0d1db67647fdd15aa722a835d2b22b9beaa9d092d
Contents?: true
Size: 457 Bytes
Versions: 4
Compression:
Stored size: 457 Bytes
Contents
module Paths class <<self def project_root_directory File.expand_path(Rake.application.original_dir) end def from_project_root_directory(*segments) join_and_expand(project_root_directory, *segments) end def join_and_expand(*segments) File.expand_path(join(*segments)) end def join(*segments) File.join(*segments.compact) end def self_directory File.dirname(__FILE__) end end end
Version data entries
4 entries across 4 versions & 1 rubygems