Recently the new version of `tracer` gem caught my eye. But I've noticed an anti-DRY pattern. I've noticed that many libs, CLI tools implement their own logic of color support on the terminal. These libs/CLI tools don't explicitly ...ccmywish (Aoran Zeng)
Ruby's default block comment is using `=begin` and `=end` ```ruby =begin Some block comments =end ``` However, we must place them at the top of the line, thus we can't indent them, for example: ```ruby class A class B c...ccmywish (Aoran Zeng)
HI @zverok, I think your proposition is a little different from what's reported here. ```ruby array = [:peanut, :butter, :and, :jelly] # 4 is out of range, but -> [] array[4,0] # 5 is out of range, but -> nil array[5,0] ```...ccmywish (Aoran Zeng)
kaiquekandykoga (KaĆque Koga) wrote in #note-1: > I think it can be interesting to open an issue at https://github.com/ruby/irb. Now here: https://github.com/ruby/irb/issues/361ccmywish (Aoran Zeng)
On Windows, `require` may cause one file to load in more than once if user accidentally spells the wrong name of a gem. I think this is because that Windows file systems are case-insensitive. See the code below. ```ruby require...ccmywish (Aoran Zeng)