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