MasterLambaster (Alex N)
- Login: MasterLambaster
- Email: masterlambaster@gmail.com
- Registered on: 02/14/2012
- Last sign in: 09/08/2012
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
08/15/2012
-
09:00 PM Ruby Feature #6828: Constancy of Constants
- =begin
I think it might be implemented but i'd rather not do that.
The reason why its not equivalent is because the first statement means:
((|Define module Baz under Foo::Bar|))
The second one means:
((|Define module Foo, define module B...
02/14/2012
-
08:23 PM Ruby Bug #6020: Unexpected is_a/kind_of behaviour
- =begin
Yes, i know how instance is_a? works. The problem is that the module owns the same functionality as well.
For example:
module A; end
A.class #=> Module
A.is_a?(A) #=> false
A.is_a?(A.class) #=> true
From implementatio... -
07:41 PM Ruby Bug #6020: Unexpected is_a/kind_of behaviour
- =begin
well, at least (({Integer.is_a?(Integer) #=> true})). I can live with that fact that the (({BasicObject.is_a?(Module) #=> true})) bearing in mind that the BasicObject is a Class
=end
-
07:20 PM Ruby Bug #6020 (Rejected): Unexpected is_a/kind_of behaviour
- =begin
I've noticed some inconsistent is_a?/kind_of? methods behavior in a very special cases
self.class #=> Object
BasicObject.is_a?(BasicObject) #=> true
Module.is_a?(Module) #=> true
Class.is_a?(Class) #=> true
Object.is_...