ch1c0t (Anatoly Chernow)
- Login: ch1c0t
- Registered on: 12/17/2016
- Last sign in: 10/27/2017
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
01/21/2017
-
09:33 PM Ruby Bug #13142 (Closed): Forwardable regression: cannot delegate to a constant since 2.4.0
- Before this commit
https://github.com/ch1c0t/tra/commit/96b15f042183f488413db99d6ede304d20503cbd
it works just fine on 2.3. But on 2.4.0:
```
/usr/lib/ruby/2.4.0/forwardable.rb:222:in `take': uninitialized constant ENUMERATOR (...
12/17/2016
-
12:20 PM Ruby Feature #13045: Passing a Hash with String keys as keyword arguments
- Nobuyoshi Nakada wrote:
> I'm not a fun for this idea, since `Symbol` and `String` are different.
They are different. However, sometimes they are treated as the same(for example, when passed as a method name to `BasicObject#send`).
... -
02:11 AM Ruby Feature #13045 (Rejected): Passing a Hash with String keys as keyword arguments
- To the following method
~~~ ruby
def new request:, response:
end
~~~
I'd like to be able to pass both
~~~ ruby
hash_with_symbol_keys = { request: another_hash, response: another_hash2 }
hash_with_string_keys = { 'request' => ...