General

Profile

osyo (manga osyo)

  • Registered on: 11/29/2017
  • Last connection: 02/05/2019

Issues

Activity

02/08/2019

12:02 AM Ruby trunk Feature #15374: Proposal: Enable refinements to `#method_missing`
OK, Thanks matz :) osyo (manga osyo)

02/07/2019

04:13 AM Ruby trunk Feature #15374: Proposal: Enable refinements to `#method_missing`
Yes, it will be the specification of Ruby.
method_missing has a large side effect.
So can use `using` to control by...
osyo (manga osyo)

02/05/2019

04:58 AM Ruby trunk Misc #15546: DevelopersMeeting20190207Japan
* [Feature #14609] `Kernel#p` without args shows the receiver (osyo)
* I feel this feature is very useful and some...
osyo (manga osyo)
04:48 AM Ruby trunk Misc #15546: DevelopersMeeting20190207Japan
* [Feature #15374] Proposal: Enable refinements to #method_missing
* waited one month.
osyo (manga osyo)

01/09/2019

12:37 PM Ruby trunk Feature #15483: Proc or Method combination with Symbol
I think it will not work in the following cases.
```ruby
# NG: Error undefined method `call' for :chr:Symbol (NoM...
osyo (manga osyo)
06:48 AM Ruby trunk Feature #15483: Proc or Method combination with Symbol
hi, nobu :)
> 引用
Why not using refinements?
It is example code.
Also, `Symbol#call` is not called in `Proc#<<...
osyo (manga osyo)

01/08/2019

02:47 PM Ruby trunk Feature #15483: Proc or Method combination with Symbol
I am thinking like this.
NOTE: Here we define it as follows.
* functional object
* defined `#call` (and `#<<...
osyo (manga osyo)

01/02/2019

02:10 PM Ruby trunk Misc #15462: DevelopersMeeting20190110Japan
* [Bug #15488] const_defined?("File::NULL") の挙動
* What is the expected behavior?
osyo (manga osyo)

12/30/2018

08:18 AM Ruby trunk Bug #15488: const_defined?("File::NULL") の挙動
挙動を修正したパッチを書いてみました。
ただ、意図的にそのような実装にしていた節があるのでこれが仕様なのかバグなのかは現時点で判断するのはちょっとむずかしそうですね。
該当箇所を消してもテストはパスしていたんですが…。
わたしも...
osyo (manga osyo)
05:06 AM Ruby trunk Bug #15488: const_defined?("File::NULL") の挙動
ちょっと調べてみたんですが、次のように `include` したモジュールの定数の場合は `false` が返ってくるのが原因なようですね。
```ruby
module M
HOGE = 42
end
clas...
osyo (manga osyo)

Also available in: Atom