General

Profile

DanRathbun (Dan Rathbun)

  • Login: DanRathbun
  • Email: danzoid61@gmail.com
  • Registered on: 03/17/2010
  • Last sign in: 08/08/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

09/23/2020

12:43 AM Ruby Feature #4917: `NilClass#to_ary`
y_feldblum (Jay Feldblum) wrote in #note-6:
> This minor performance issue becomes a huge problem when NilClass#method_missing is defined, such as in ActiveSupport (https://github.com/rails/rails/blob/master/activesupport/lib/active_sup...
DanRathbun (Dan Rathbun)

04/11/2016

08:29 PM Ruby Feature #12268 (Rejected): Open3 should use extend self instead of module_function calls
Open3 should use `extend self` instead of `module_function` calls after defining each method.
Using `module_function` causes access issues when the `Open3` module is mixed into other class or module namespaces. Ie, the very method pro...
DanRathbun (Dan Rathbun)
08:07 PM Ruby Feature #12267 (Rejected): REXML Authoring constants are unwanted (or clash) when mixing into other namespaces
The following file can be added, OR it's contents pasted into "rexml/rexml.rb". Basically it renames the authoring constants defined in "rexml/rexml.rb", with a "REXML_" prefix. But it only does so when REXML module is mixed into some ot... DanRathbun (Dan Rathbun)

03/17/2010

07:56 PM Ruby Feature #2975: Kernel.warn always writes despite $VERBOSE value
=begin
On 03/17/2010 06:42 AM - Nobuyoshi Nakada
--> said: "It's a document issue."

I agree.. that there IS an existing doc issue.

But that's only a SMALL part of the issue.

Proposing:
(A) Change and adition of module...
DanRathbun (Dan Rathbun)
04:28 AM Ruby Feature #2975 (Closed): Kernel.warn always writes despite $VERBOSE value
=begin
Kernel.warn always writes despite $VERBOSE value

The RDoc say:
http://www.ruby-doc.org/core/classes/Kernel.html#M005921
warn(msg) => nil
Display the given message (followed by a newline) on STDERR unless warnings are ...
DanRathbun (Dan Rathbun)
05:39 AM Ruby Feature #1400: Please add a method to enumerate fields in OpenStruct
=begin
This can be done right now. In several ways.
# obj is an class OpenStruct with some number of members.
ary = obj.methods(false).sort -> Array of attr getters and setters
keys=[]
ary.each {|i| keys.push(i) unless i.include...
DanRathbun (Dan Rathbun)

Also available in: Atom