Class: PickyGuard::PathHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/picky_guard/path_helper.rb

Class Method Summary collapse

Class Method Details

.lib_pathObject



9
10
11
# File 'lib/picky_guard/path_helper.rb', line 9

def self.lib_path
  File.expand_path(File.join(project_root, 'lib'))
end

.project_rootObject



13
14
15
# File 'lib/picky_guard/path_helper.rb', line 13

def self.project_root
  File.expand_path(File.join(File.dirname(__FILE__), '../..'))
end

.user_project_pathObject



5
6
7
# File 'lib/picky_guard/path_helper.rb', line 5

def self.user_project_path
  Dir.pwd
end