Sha256: 65a0526f7422d6a7c67845e35b615bb9686e52f2a1ca7dcadb3b370aa44c20d2

Contents?: true

Size: 375 Bytes

Versions: 16

Compression:

Stored size: 375 Bytes

Contents

#!/usr/bin/ruby

# 
# Usage: test/70_rbox_env_test.rb
#

$:.unshift File.join(File.dirname(__FILE__), "..", "lib")

require "rubygems"
require "stringio"
require "yaml"
require "rye"

tmpdir = Rye.sysinfo.tmpdir

rbox = Rye::Box.new("localhost", :info => true)

puts rbox.getenv['HOME']  # slight delay while vars are fetched
puts rbox.getenv['HOME']  # returned from memory

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
rye-0.9.13 tst/70_rbox_env_test.rb
delano-rye-0.6.0 tst/70_rbox_env_test.rb
delano-rye-0.6.1 tst/70_rbox_env_test.rb
delano-rye-0.6.2 tst/70_rbox_env_test.rb
delano-rye-0.6.3 tst/70_rbox_env_test.rb
delano-rye-0.6.4 tst/70_rbox_env_test.rb
rye-0.9.12 tst/70_rbox_env_test.rb
rye-0.9.11 tst/70_rbox_env_test.rb
rye-0.9.10 tst/70_rbox_env_test.rb
rye-0.9.9 tst/70_rbox_env_test.rb
rye-0.9.8 tst/70_rbox_env_test.rb
rye-0.6.1 tst/70_rbox_env_test.rb
rye-0.6.0 tst/70_rbox_env_test.rb
rye-0.6.3 tst/70_rbox_env_test.rb
rye-0.6.2 tst/70_rbox_env_test.rb
rye-0.6.4 tst/70_rbox_env_test.rb