Sha256: caaa10e2b237ced0195a1da4c7eadf7e148c408ad25656929b2fe504b6a6d809
Contents?: true
Size: 545 Bytes
Versions: 17
Compression:
Stored size: 545 Bytes
Contents
require_relative "client/daemon" module Rsense module Client class Client attr_accessor :config Config = Struct.new( :gem_home, :gem_path, :load_path ) def gather_info @config = Config.new(gem_home, gem_path, $:.join(File::PATH_SEPARATOR)) end def gem_home ENV["GEM_HOME"] end def gem_path gem_pth = [] gem_pth << ENV["GEM_PATH"] gem_pth << Gem.path gem_pth.join(File::PATH_SEPARATOR) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems