Thomas Brennetotblog.brennetot.com·Feb 28, 2024My configuration for IRB: highlight Rails.envNever forget the environment you are in. # .irbrc module ColorString refine String do def cyan = "\e[36m#{self}\e[0m" def bg_red = "\e[41m#{self}\e[0m" def bg_yellow = "\e[43m#{self}\e[0m" def bg_green = "\e[42m#{self}\e[0m" end ...Discuss·34 readsRuby
sandip paridatechlye.hashnode.dev·Dec 29, 2023Adding Custom Commands like 'Clear Screen' In IrbIntroduction: "Hey, fellow Ruby enthusiasts! Want to sprinkle some magic into your Ruby Interactive Ruby Shell (IRB)? Let's explore custom commands that'll personalize your IRB sessions and make Ruby exploration more enchanting!" Q: How can we make R...Discuss·12 likes·55 readsirb