VeryBewitching (RP C)
- Login: VeryBewitching
- Registered on: 03/17/2016
- Last sign in: 03/17/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
03/17/2016
-
08:53 PM Ruby Feature #12125: Proposal: Shorthand operator for Object#method
- Another thought: Dir["/.c"].map(File.&basename)
-
07:52 PM Ruby Feature #12125: Proposal: Shorthand operator for Object#method
- Stefan Merettig wrote:
> Hello,
> ...
Dir["*/*.c"].map(File[&:basename])
From File, employ basename method. The referencing & should be applied to the method, not the class, as it is really the method you're concerned with. I'm not...