My oldest Ruby 1.8.2 (2004-12-25) also says `A::B.f # => 1` for that example. That Ruby is 15 years old. The example showing `A::B.f # => 0` is 7 years old. I suspect that `A::B.f # => 0` was a copy mistake, and Ruby always had `A::B....kernigh (George Koehler)
This is a simpler example of the behavior: ``` $ ruby -e 'p x; x = 6' Traceback (most recent call last): -e:1:in `<main>': undefined local variable or method `x' for main:Object (NameError) $ ruby -e 'p eval("x"); x = 6' nil $ r...kernigh (George Koehler)
The [make(1)](https://man.openbsd.org/make) command in OpenBSD can't build node_name.inc of Ruby trunk in an out-of-source build. GNU make works. OpenBSD make misses node.h in the source directory, and tries to use node.h in the build ...kernigh (George Koehler)
Sorry, I didn't know that feature #11258 existed. I might have searched bugs.ruby-lang.org for "open mode" but not looked through the long list of results.kernigh (George Koehler)
rdoc also confuses class Gem::RDoc with class RDoc. The command `ri RDoc` shows the description of both Gem::RDoc and RDoc as if they were one class. The command `ri Gem::RDoc` says, "Nothing known about Gem::RDoc". The HTML from `make h...kernigh (George Koehler)
I run `make html` in my build of Ruby trunk. This puts the HTML in .ext/html, so I run `firefox .ext/html/index.html` to view it. I can confirm that the HTML docs do understand most aliases. For example, Array#append says, *Alias fo...kernigh (George Koehler)
I propose (and attach a patch) to add a mode 'x' for Kernel#open, File.open, and similar methods. Mode 'wx' or 'ax' would create a new file, or raise an error if the file exists. Mode 'x' would be a shortcut for IO::EXCL. It would work l...kernigh (George Koehler)
`ri` in Ruby trunk fails to find documentation for some methods. Array#append and Array#prepend are new in trunk. ri knows that these methods exist, but has no document for them. ``` $ ri Array#append = Array#append (from ru...kernigh (George Koehler)
The file ext/rbconfig/sizeof/depend should contain the string "configure.ac", not "configure.in". This was changed by git commit 3133a5c (svn r60062). I wonder if your copy of that file is too old? kernigh (George Koehler)