General

Profile

Tsuyoshi Sawada

  • Registered on: 04/27/2011
  • Last connection: 05/19/2016

Issues

Activity

05/21/2016

03:05 AM Ruby trunk Feature #12374: SingletonClass
Nobuyoshi Nakada wrote:
> If a singleton class is a subclass of `SingletonClass`, no singleton classed inheriting ot...
02:39 AM Ruby trunk Feature #12374: SingletonClass
Nobuyoshi Nakada wrote:
> What is `SingletonClass`?
> A wrapper object?
No, it should be a subclass of `Class`. ...

05/19/2016

03:25 PM Ruby trunk Feature #12399 (Open): Restricted, safe version of `Kernel#eval`
`Kernel#eval` is convenient, but sometimes, it can be a security risk, and often people crazily react against using i...

05/15/2016

01:39 PM Ruby trunk Feature #12317: Name space of a module
Daniel Ferreira wrote:
> Simple challenge example:
>
> ~~~ ruby
> module Foo
> class Bar
> end
> end
> B...

05/14/2016

08:28 AM Ruby trunk Feature #12380: `Struct` as a subclass of `Class`
Jeremy Evans wrote:
> You can't subclass Class in ruby:
I see.
> do you think there would be any practical b...
06:22 AM Ruby trunk Feature #12380 (Open): `Struct` as a subclass of `Class`
This issue is somewhat of the same flavor as #12374.
`Struct` has a constructor that creates a class:
~~~ruby
...

05/12/2016

06:30 PM Ruby trunk Feature #12374: SingletonClass
Sorry, for the last example, I meant:
~~~ruby
A = SingletonClass.new
~~~
06:28 PM Ruby trunk Feature #12374 (Feedback): SingletonClass
I propose to have a class `SingletonClass`, a subclass of the class `Class`, to which all singleton classes belong. I...

05/07/2016

12:25 PM Ruby trunk Feature #12317: Name space of a module
I realized that the order of modules that I wrote in the expected output is not in accordance with methods like `nest...

05/03/2016

10:05 PM Ruby trunk Feature #12345 (Open): A module's private constants are given with `Module#constant(false)`
A module's private constants are given with `Module#constant(false)`.
~~~ruby
module A
X = 1
Y = 2
priva...

Also available in: Atom