Sha256: eea67e19dc72c37edfbd0940210f7228af07eb46900eb05005fc0ab7a7e0153d

Contents?: true

Size: 282 Bytes

Versions: 4

Compression:

Stored size: 282 Bytes

Contents

require 'ostruct'

module CSD
  class PathStruct < OpenStruct
    
    def gem_root
      File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
    end
    
    def applications
      File.expand_path(File.join(gem_root, 'lib', 'csd', 'applications'))
    end
  
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
csd-0.0.13 lib/csd/path_struct.rb
csd-0.0.12 lib/csd/path_struct.rb
csd-0.0.11 lib/csd/path_struct.rb
csd-0.0.10 lib/csd/path_struct.rb