battox (Matías Battocchia)
- Login: battox
- Email: matias@eudemocracia.org
- Registered on: 12/05/2011
- Last sign in: 03/07/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
03/07/2014
-
07:28 PM Ruby Bug #9611: Arithmetic operator following parentheses-less method gives ArgumentError
- Even though this also happens with +, * and /, I guess it is on purpose to pass negative numbers, not a bug. My mistake.
-
07:04 PM Ruby Bug #9611 (Rejected): Arithmetic operator following parentheses-less method gives ArgumentError
- It would be better to explain this with an example:
> 'a'.length -1
ArgumentError: wrong number of arguments (1 for 0)
...
12/08/2011
-
01:56 AM Ruby Feature #5710: Enumerable#each( :method ) and Enumerable#map( :method )
- It works. Thank you!
I guess that this issue has been resolved...
12/05/2011
-
11:31 AM Ruby Feature #5710 (Closed): Enumerable#each( :method ) and Enumerable#map( :method )
- #each and #map could accept an argument of class string or symbol and send it to the objects in the enumerable.
An example:
array = [ "bi", "tri", "quad" ]
p array.each( :upcase! ) #=> [ "BI", "TRI", "QUAD" ]
p array.map( :...