Sha256: 5f2b3797d2801deaae96bd6d179ca31ee593386118e14c49155a77ecb2cd50ea
Contents?: true
Size: 659 Bytes
Versions: 3
Compression:
Stored size: 659 Bytes
Contents
# encoding: utf-8 require File.join(File.dirname(__FILE__), 'global_open_struct') module CSD class Path < GlobalOpenStruct def self.root @@root ||= Dir.pwd end def self.root=(path) @@root = path end def self.gem @@gem ||= File.expand_path(File.join(File.dirname(__FILE__), '..' ,'..')) end def self.vendor @@vendor ||= File.join(gem, 'vendor') end def self.applications @@applications ||= File.expand_path(File.join(gem, 'lib', 'csd', 'application')) end def self.applications=(path) @@applications = File.expand_path(path) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
csd-0.1.5 | lib/csd/path.rb |
csd-0.1.4 | lib/csd/path.rb |
csd-0.1.3 | lib/csd/path.rb |