General

Profile

kwatch (makoto kuwata)

  • Login: kwatch
  • Email: kwa@kuwata-lab.com
  • Registered on: 09/29/2010
  • Last sign in: 11/19/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

06/29/2025

07:30 AM Ruby Revision 9fd793e0 (git): [ruby/optparse] Enhance to support 'Set' object as an enum
(https://github.com/ruby/optparse/pull/76)
* Enhance to support 'Set' object as an enum
* Add test script for '#make_swithc()'
---------
https://github.com/ruby/optparse/commit/3869000e98
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-...
kwatch (makoto kuwata)

11/19/2016

08:38 AM Ruby Feature #12960: [psych] new visitor class to generate custom object instead of Hash
Nobuyoshi Nakada wrote:
> Please send to the [upstream](https://github.com/ruby/psych).
I understand. Thx.
(I can't find any button to close this issue. Please close this.)
kwatch (makoto kuwata)
03:39 AM Ruby Feature #12960 (Third Party's Issue): [psych] new visitor class to generate custom object instead of Hash
I create a patch to define new useful visitor class for Psych.
It generates custom object as mapping data instead of Hash.
Normally, you must access YAML document data like `ydoc["foo"]["bar"]["baz"]`.
Using this class, you can acce...
kwatch (makoto kuwata)

11/06/2010

02:21 PM Ruby Feature #3917: [proposal] called_from() which is much faster than caller()
=begin
Hi Run Run, thank you for your comment about Kernel#caller.

2010/10/29 Run Paint Run Run <redmine@ruby-lang.org>:
> I can't follow this discussion, but I'll note proposal #1906 that
> also aims to provide an alternative to `...
kwatch (makoto kuwata)

10/10/2010

01:25 AM Ruby Feature #3917: [proposal] called_from() which is much faster than caller()
=begin
桑田です。日本語が文字化けしてたようで申し訳ないです。


2010/10/8 SASADA Koichi <ko1@atdot.net>:
>  ささだです。
>
> 基本的に賛成なんですが、alternative なアイデアということで。
>
>
> (1) caller の拡張案
>
> (a) 配列の要素数を指定するオプショナル引数を加える
>
> caller(n, m) => n 個上の caller から、...
kwatch (makoto kuwata)

10/08/2010

08:45 AM Ruby Feature #3917 (Closed): [proposal] called_from() which is much faster than caller()
=begin
I propose to introduce Kernel#called_from() which is similar to caller()
but much faster than it.


Background
----------

There are some cases to want to know from where current method is called.
In this case, K...
kwatch (makoto kuwata)

Also available in: Atom