americodls (Americo Duarte)
- Login: americodls
- Registered on: 02/18/2017
- Last sign in: 07/20/2020
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 0 | 3 | 3 |
Activity
07/10/2020
- 02:37 AM Ruby master Feature #17022 (Third Party's Issue): Addition of method Kernel#Date
- What if we have a method `Kernel#Date` that delegates to `Date.parse`? Dates could be written in a more natural way, ...
04/05/2018
- 05:12 PM Ruby master Feature #14594: Rethink yield_self's name
- My two cents:
This method acts like a **pipe operator**, it passes itself **through** the block and returns whatev...
10/19/2017
- 01:46 AM Ruby master Feature #13581: Syntax sugar for method reference
- matz (Yukihiro Matsumoto) wrote:
> I am for adding syntax sugar for method reference. But I don't like proposed synt...
05/24/2017
- 01:06 AM Ruby master Bug #13592: Enumerable#reduce with symbol does not respect method visibility
- This is exactly what I am saying.
This behavior of `reduce` is unpredictable and different of the another `Enumera...
05/23/2017
- 04:08 PM Ruby master Bug #13592 (Open): Enumerable#reduce with symbol does not respect method visibility
- 03:53 PM Ruby master Bug #13592 (Feedback): Enumerable#reduce with symbol does not respect method visibility
- Please, reconsider. Look this example:
~~~
irb(main):092:0> :puts.to_proc.call("")
NoMethodError: private meth... - 02:43 PM Ruby master Bug #13592: Enumerable#reduce with symbol does not respect method visibility
- Sorry, ignore the IRB thing. But my question about the reduce still valid.
- 02:37 PM Ruby master Bug #13592 (Closed): Enumerable#reduce with symbol does not respect method visibility
- When use reduce with symbol, I expect the symbol is called in object but respecting the method visibility.
Example...
05/20/2017
- 12:27 AM Ruby master Feature #13581: Syntax sugar for method reference
- Why the version with symbol (`Math->:sqrt`) needs to be supported?
05/19/2017
- 02:16 PM Ruby master Feature #13581: Syntax sugar for method reference
- The **`->`** was just a suggestion... Could be another symbol or combination of symbols like **`Math->>sqrt`**, **`Ma...
Also available in: Atom