General

Profile

joker1007 (Tomohiro Hashidate)

Issues

Activity

11/01/2018

07:59 AM Ruby trunk Feature #14836: Method to return first/last lineno/column of Proc
Great work!!
What I want is this!
If ruby-trunk merges this patch, I will try to use.
joker1007 (Tomohiro Hashidate)

06/08/2018

10:14 AM Ruby trunk Feature #14836: Method to return first/last lineno/column of Proc
I want this feature too.
I wrote a rubygem that parses proc and converts to AST::Node (of ast gem).
To inspect pr...
joker1007 (Tomohiro Hashidate)

03/15/2018

07:59 AM Ruby trunk Feature #14606 (Open): Change begin-else-end without rescue from warning to syntax error
~~~ ruby
begin
p :foo
else
p :bar
end
# => :foo
# => :bar
~~~
~~~ ruby
[1,2,3].each do
p :foo
e...
joker1007 (Tomohiro Hashidate)

10/13/2017

11:32 AM Ruby trunk Bug #14012 (Open): NameError is raised when use class variables in Refinements
Sorry in advance if other ticket exists.
In a case, Reference to class variables raises unnatural NameError.
A...
joker1007 (Tomohiro Hashidate)

09/14/2016

12:57 PM Ruby trunk Bug #12521: Syntax for retrieving argument without removing it from double-splat catch-all
I want this feature.
Keyword argument is safer and more explanatory than splat style.
But I sometimes want to pass ...
joker1007 (Tomohiro Hashidate)

01/13/2015

08:59 AM Ruby trunk Bug #10470: TracePoint cannot trace attr_accessor/reader/writer method
すいません。
元のサンプルコードを流用してしまったので、tracepointの性能測定としては余り適切じゃない感じのコードになってたことに気付きました。
~~~ruby
trace = TracePoint.new(:ret...
joker1007 (Tomohiro Hashidate)

01/10/2015

10:29 AM Ruby trunk Bug #10470: TracePoint cannot trace attr_accessor/reader/writer method
添付したパッチと同じ様にEXEC_EVENT_HOOKを追加して性能測定をしてみました。
測定にはbenchmark-ipsというgemを使って、100msでの実行命令数を計測しています。
測定に使ったソースコードは以下の通りです...
joker1007 (Tomohiro Hashidate)

11/03/2014

07:26 AM Ruby trunk Bug #10470 (Assigned): TracePoint cannot trace attr_accessor/reader/writer method
TracePointを利用して`attr_accessor`で定義したメソッドの`:c_call`, `:c_return`イベントを取得することができません。
```ruby
class Foo
attr_access...
joker1007 (Tomohiro Hashidate)

Also available in: Atom