Class: DataAnon::Utils::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/utils/resource.rb

Class Method Summary collapse

Class Method Details

.file(file_name) ⇒ Object


6
7
8
9
# File 'lib/utils/resource.rb', line 6

def self.file file_name
  project_home =  File.join(File.dirname(__FILE__), '../../')
  "#{project_home}resources/#{file_name}"
end

.project_homeObject


11
12
13
# File 'lib/utils/resource.rb', line 11

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