unihedron (Unihedron 0)
- Login: unihedron
- Email: unihedron@unihedro.com
- Registered on: 04/30/2019
- Last sign in: 10/07/2019
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
05/01/2019
-
08:03 AM Ruby Feature #15814: Capturing variable in case-when branches
- #14912 is more thought-out and seems to have made good progress, my regret is I didn't come upon it when trying to search for duplicate issues. #14709 seems to have a collection of case studies and really interesting discussions, but "if...
-
04:25 AM Ruby Feature #15814: Capturing variable in case-when branches
- I messed up brackets.
-
04:24 AM Ruby Feature #15814 (Closed): Capturing variable in case-when branches
- In ruby, when a case-when statement is written, the when branches accepts expressions which will be evaluated to objects, then === is called to check if any of them returns true:
```ruby
case 'a'
when 'abc'
# not matched
when Re...