Xavier Noria

  • Email: fxn@hashref.com
  • Registered on: 03/21/2010
  • Last connection: 07/01/2015

Activity

Reported issues: 1

11/14/2014

04:24 PM Ruby trunk Bug #10488: Consistency of Module#const_defined? and constant lookup
Regarding the first point, here `const_defined?` is consistent with `const_get`:
```ruby
X = 1
Module.new.const_...

10/06/2014

08:53 PM Ruby trunk Feature #9112: Make module lookup more dynamic (Including modules into a module after it has alre...
+1 over here.
I remember I discovered this the hard-way extracting some code from Rails into a gem.
I believe t...

09/10/2014

10:32 AM Ruby trunk Feature #8923: Frozen nil/true/false
Hans Mackowiak wrote:
> i am unsure about toally freeze them ... some might extend/include some "Boolean" module int...

12/07/2013

01:57 AM Ruby trunk Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
@Guilherme
A predicate in Ruby can return any object. If the exact return value is documented, then the user of the ...

11/19/2013

08:49 PM Ruby trunk Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
This ticket is not about changing the semantics of the Ruby language. It is a ticket about a particular predicate.
C...
03:39 AM Ruby trunk Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
I wouldn't care. I use predicates as predicates
do_foo if x.zero?
also
do_bar if str =~ /.../
the =~ oper...
03:23 AM Ruby trunk Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
Both predicates return a boolean value, whose exact nature is irrelevant. I see no inconsistency to fix.
In my vie...

08/05/2012

08:51 PM Ruby trunk Feature #5478: import Set into core, add syntax
I don't know which is the general position of core with respect to non-ASCII in source code, but the natural literal ...

07/29/2012

11:49 PM Ruby trunk Feature #6810: `module A::B; end` is not equivalent to `module A; module B; end; end` with respec...
Perry, totally agreed. The way this works and how constant name resolution works should be a well-covered topic. But ...
09:38 PM Ruby trunk Feature #6810: `module A::B; end` is not equivalent to `module A; module B; end; end` with respec...
They are very decoupled, name is the only bit mostly in common, set on constant assignment. May I link to a talk of m...

Also available in: Atom