ryoqun (Ryo Onodera)
- Login: ryoqun
- Email: ryoqun@gmail.com
- Registered on: 05/25/2010
- Last sign in: 03/21/2013
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 1 | 2 |
Activity
11/19/2012
-
06:04 PM Ruby Feature #6682: Add a method to return an instance attached by a singleton class
- =begin
zzak, thanks for updating this feature request.
I add more explanation.
First of all, I'll clarify my intention: I want any kind of modules to be interchangeably used in either of the following 2 ways:
(1) Extend inside ...
09/25/2012
-
09:06 PM Ruby Feature #6682: Add a method to return an instance attached by a singleton class
- =begin
There is a problem in the original proposal. It is that we can't determine whether a given class is singleton or not by checking an object returned from (({Class#singleton_instance})) in some cases. Consider this exapmle:
# ...
07/09/2012
-
07:57 AM Ruby Feature #6682: Add a method to return an instance attached by a singleton class
- I opened a pull request for this feature: https://github.com/ruby/ruby/pull/142
07/01/2012
-
07:22 PM Ruby Feature #6682 (Assigned): Add a method to return an instance attached by a singleton class
- =begin
Currently, there is no easy way to get the attached instance from a singleton class. For MRI, we have to resort to writing an C extension. So it'll be useful to add an instance method to Class to return the attached instance if t...
05/25/2010
-
07:43 PM Ruby Bug #3341 (Closed): Random#randにTimeのRangeを渡すとSEGVする
- =begin
下の様なコマンドでSEGVします。Time.nowである必要はなくて、とにかくTimeなら何でも落ちます。
$ ruby -e 'Random.new.rand(Time.now..Time.now)'
-e:1: [BUG] Segmentation fault
ruby 1.9.3dev (2010-05-25 trunk 28010) [x86_64-linux]
-- control frame ----------
...