Sha256: c5921b1f4fa4df97f46ae8443ecc4c2586e1d190b7cbc08ac0c71fd841d9dad1
Contents?: true
Size: 275 Bytes
Versions: 1
Compression:
Stored size: 275 Bytes
Contents
# In addition to the normal ~/.irbrc, we look for (and load) a .irbrc file pwd = "#{`pwd`.chomp}" irbrc_name = "#{pwd}/.#{ENV['USER']}_irbrc" puts "Looking for #{irbrc_name}..." if File.exists? irbrc_name puts "Loaded" load(irbrc_name) else puts "Does not exist" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rwilcox-utility_belt-1.0.9 | lib/utility_belt/cwd_irbrc.rb |