General

Profile

fuadksd (Fuad Saud)

  • Login: fuadksd
  • Email: fuadksd@gmail.com
  • Registered on: 07/04/2013
  • Last sign in: 02/12/2014

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

01/20/2014

08:42 PM Ruby Feature #6373: public #self
That is interesting behaviour for chaining; not sure if consistent though.




Sent from Mailbox for iPhone
fuadksd (Fuad Saud)
02:30 PM Ruby Feature #6373: public #self
Wouldn’t such method accepting a block remove the need to have `Object#tap` at all? As I understand this method is just a tap that doesn’t need a block. 
-- 
Fuad Saud
Sent with Airmail
fuadksd (Fuad Saud)
02:23 PM Ruby Feature #9428: Inline argument expressions and re-assignment
I am very sorry, I replied the wrong email thread.
-- 
Fuad Saud
Sent with Airmail
fuadksd (Fuad Saud)

01/03/2014

01:23 PM Ruby Feature #9347: Accept non callable argument to detect
I think, if it was possible, a call like this `ary.detect(:sym)` would make more sense by using case equality for comparison instead of #call. It would be useful with regexes for example. There's a ticket proposing this but I can't seem... fuadksd (Fuad Saud)

12/03/2013

11:10 AM Ruby Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
Hash#transform might also be a good name. fuadksd (Fuad Saud)

11/28/2013

03:11 PM Ruby Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
nonzero? returning the number is useful; I used this recently:
t '.items_count', count: items_count.nonzero? || t(.'no')
It returns the number or, if it's zero, the proper translation for no (generating a "no items" message).
I ...
fuadksd (Fuad Saud)

11/23/2013

11:23 AM Ruby Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
I don't understand why we would want to be so strict about types on this
case. Having some arbitrary value being returned is useful and it doesn't
hurt any good practices. Ensuring predicates return true or false feels
useless for...
fuadksd (Fuad Saud)

11/17/2013

01:59 PM Ruby Feature #6842: Add Optional Arguments to String#strip
I need this a couple of weeks ago. Looks like a preety commo use case. fuadksd (Fuad Saud)

11/12/2013

02:29 AM Ruby Feature #6727: Add Array#rest (with implementation)
Reading back the comments, I realize Indexable may be a good idea for String/Array polymorphism. fuadksd (Fuad Saud)

11/10/2013

05:53 AM Ruby Feature #6727: Add Array#rest (with implementation)
I proposed it as well in #9023 in the CommonRuby list. I don't think the
arguments given there are enough to justify not implementing such an useful
method.
On Nov 9, 2013 6:13 PM, "baweaver (Brandon Weaver)" <
brandon_weaver@ba...
fuadksd (Fuad Saud)

Also available in: Atom