HarlemSquirrel (Kevin McCormack)
- Login: HarlemSquirrel
- Registered on: 03/21/2019
- Last sign in: 11/09/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
11/09/2024
-
05:18 AM Ruby Feature #20882: Provide Boolean(...)
- A project I work on has added the following patch. I kind of like the simplicity of `#to_b`
```
class Object
# Returns true for '1', 'true', true
# Returns false for '0', 'false', false, '', nil
#
# @return [Boolean]
def to_bo...
03/22/2019
-
12:19 AM Ruby Feature #4475: default variable name for parameter
- As I'm reading through this I am warming up to this idea. However, I would prefer to keep `@` for instance variables.
Ruby currently does not allow naming variables or methods starting with a number. Could we utilize this?
```ruby...