Kohei Arai
Kohei Arai
The code was more straightforward than I initially thought, and I was able to easily add the implementation, so I have created a PoC PR. I would appreciate it if...
Hi @Sansossio , I hope you're doing well. I wanted to follow up on the issue and PR I submitted. I understand that you may have a busy schedule, and...
``` ./miniruby -I../ruby/lib -I. -I.ext/common ../ruby/test.rb "{foo: 'hoge', bar: 'fuga'}.find { |k, v| v == 'fuga' } => [:bar, \"fuga\"]" "{foo: 'hoge', bar: 'fuga'}.find_as_hash { |k, v| v == 'fuga'...
できたはいいけど結局 `#key` や `#value` は呼べないのでそれほど便利でもないことに気づいた 単一のペアからなるHashってあまり意味がない
結果として `Hash#find` が `Array` を返してる意味がわかったという話になってしまったけど、一つ自分でメソッドのようなものを実装できてよかった