Sha256: 1cd8fa6eb67f1094cc08129cefb202fc13696ca2893014bc2024603db9fd755f

Contents?: true

Size: 460 Bytes

Versions: 25

Compression:

Stored size: 460 Bytes

Contents

# -*- encoding: UTF-8 -*-
require 'ostruct'

module CSD
  class PathContainer < OpenStruct
    
    def root
      @root ||= Dir.pwd
    end
    
    def gem
      @gem ||= File.expand_path(File.join(File.dirname(__FILE__), '..' ,'..'))
    end
    
    def vendor
      @vendor ||= File.join(self.gem, 'vendor')
    end
    
    def applications
      @applications ||= File.expand_path(File.join(self.gem, 'lib', 'csd', 'application'))
    end
    
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
csd-0.4.0 lib/csd/path_container.rb
csd-0.3.7 lib/csd/path_container.rb
csd-0.3.6 lib/csd/path_container.rb
csd-0.3.5 lib/csd/path_container.rb
csd-0.3.4 lib/csd/path_container.rb
csd-0.3.3 lib/csd/path_container.rb
csd-0.3.2 lib/csd/path_container.rb
csd-0.3.1 lib/csd/path_container.rb
csd-0.3.0 lib/csd/path_container.rb
csd-0.2.2 lib/csd/path_container.rb
csd-0.2.1 lib/csd/path_container.rb
csd-0.2.0 lib/csd/path_container.rb
csd-0.1.18 lib/csd/path_container.rb
csd-0.1.17 lib/csd/path_container.rb
csd-0.1.16 lib/csd/path_container.rb
csd-0.1.15 lib/csd/path_container.rb
csd-0.1.14 lib/csd/path_container.rb
csd-0.1.13 lib/csd/path_container.rb
csd-0.1.12 lib/csd/path_container.rb
csd-0.1.11 lib/csd/path_container.rb