.irbrc Ruby deprecation

main
Alpha Chen 2 years ago
parent ca4c5e7d3f
commit 504f2540c1
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -25,7 +25,7 @@ IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history"
# end # end
irbrc_local = File.expand_path('../.irbrc.local', __FILE__) irbrc_local = File.expand_path('../.irbrc.local', __FILE__)
require irbrc_local if File.exists?(irbrc_local) require irbrc_local if File.exist?(irbrc_local)
begin begin
# use Pry if it exists # use Pry if it exists

Loading…
Cancel
Save