Class: CSD::Path

Inherits:
GlobalOpenStruct show all
Defined in:
lib/csd/path.rb

Class Method Summary collapse

Methods inherited from GlobalOpenStruct

method_missing

Class Method Details

.applicationsObject



22
23
24
# File 'lib/csd/path.rb', line 22

def self.applications
  @@applications ||= File.expand_path(File.join(gem, 'lib', 'csd', 'application'))
end

.applications=(path) ⇒ Object



26
27
28
# File 'lib/csd/path.rb', line 26

def self.applications=(path)
  @@applications = File.expand_path(path)
end

.gemObject



14
15
16
# File 'lib/csd/path.rb', line 14

def self.gem
  @@gem ||= File.expand_path(File.join(File.dirname(__FILE__), '..' ,'..'))
end

.rootObject



6
7
8
# File 'lib/csd/path.rb', line 6

def self.root
  @@root ||= Dir.pwd
end

.root=(path) ⇒ Object



10
11
12
# File 'lib/csd/path.rb', line 10

def self.root=(path)
  @@root = path
end

.vendorObject



18
19
20
# File 'lib/csd/path.rb', line 18

def self.vendor
  @@vendor ||= File.join(gem, 'vendor')
end