Sha256: 294de4ada1d018a998f17cefd3088e59e2a515e9d3bd01f9fc65bcf26cc39fc4
Contents?: true
Size: 240 Bytes
Versions: 15
Compression:
Stored size: 240 Bytes
Contents
require 'yaml' class TraceTree GemPaths = {} ::YAML.load(`gem env`)["RubyGems Environment"]. select{|h| h.has_key?("GEM PATHS")}[0]. values[0]. each_with_index do |path, i| GemPaths["GemPath#{i}"] = path end end
Version data entries
15 entries across 15 versions & 1 rubygems