Sha256: 1869f4fe4d1a4ca4685200302994a52e7ca3c73579db05cf483540a1e7e30d09
Contents?: true
Size: 431 Bytes
Versions: 5
Compression:
Stored size: 431 Bytes
Contents
module Java class Classpath require 'pathname' def initialize(root_dir) @root = root_dir @locations = [] self end def <<(paths) @locations = (@locations << Dir[@root + '/' + paths]).flatten self end def definition @locations.map {|path| File.native_path(path)}.join(self.separator) end def separator PLATFORM['win32'] ? ";" : ":" end end end
Version data entries
5 entries across 5 versions & 2 rubygems