Issue #1431 has been updated by Marc-Andre Lafortune.


-1 because:

a) __class__ is more keystrokes (if you count the shift key)
b) self.class is clear (and exists currently)
c) I feel that __something__ should ideally be reserved for special cases; self.class isn't. I am aware that __FILE__ was used a lot before and there's talk about __dir__, but I think that require_relative is now a better solution for most of these cases.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1431

----------------------------------------
http://redmine.ruby-lang.org