ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:50319] [Ruby trunk Feature#14124] Show source around binding.irb on irb startup
       [not found] <redmine.issue-14124.20171121180847@ruby-lang.org>
@ 2017-11-21 18:08 ` takashikkbn
  2017-11-24  3:51 ` [ruby-dev:50320] " takashikkbn
  1 sibling, 0 replies; 2+ messages in thread
From: takashikkbn @ 2017-11-21 18:08 UTC (permalink / raw
  To: ruby-dev

Issue #14124 has been reported by k0kubun (Takashi Kokubun).

----------------------------------------
Feature #14124: Show source around binding.irb on irb startup
https://bugs.ruby-lang.org/issues/14124

* Author: k0kubun (Takashi Kokubun)
* Status: Open
* Priority: Normal
* Assignee: keiju (Keiju Ishitsuka)
* Target version: 2.5
----------------------------------------
k0kubun です。

ソースコード中の複数箇所に binding.irb を記述した時、IRBのセッションがどこから起動されたのか分からず困っています。
以下のように、 binding.irb からIRBを起動した時だけどこから起動されたのかわかるととても助かるのですが、いかがでしょうか。

~~~
$ cat /tmp/test.rb
def test
  binding.irb
end

test
$ ruby /tmp/test.rb
From: /tmp/test.rb @ line 2 :

    1: def test
 => 2:   binding.irb
    3: end
    4:
    5: test

irb(main):001:0>
~~~

パッチ: https://github.com/ruby/ruby/pull/1764



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-dev:50320] [Ruby trunk Feature#14124] Show source around binding.irb on irb startup
       [not found] <redmine.issue-14124.20171121180847@ruby-lang.org>
  2017-11-21 18:08 ` [ruby-dev:50319] [Ruby trunk Feature#14124] Show source around binding.irb on irb startup takashikkbn
@ 2017-11-24  3:51 ` takashikkbn
  1 sibling, 0 replies; 2+ messages in thread
From: takashikkbn @ 2017-11-24  3:51 UTC (permalink / raw
  To: ruby-dev

Issue #14124 has been updated by k0kubun (Takashi Kokubun).


いしつかさんにもコンタクトを取ったところ反対ではなく、また他のコミッタの方から何度かレビューをいただく間特に機能自体への反対意見がなかったので、コミットしてしまおうと思います。
Pull Requestを見ていただいた方、ありがとうございました。

----------------------------------------
Feature #14124: Show source around binding.irb on irb startup
https://bugs.ruby-lang.org/issues/14124#change-67910

* Author: k0kubun (Takashi Kokubun)
* Status: Open
* Priority: Normal
* Assignee: keiju (Keiju Ishitsuka)
* Target version: 2.5
----------------------------------------
k0kubun です。

ソースコード中の複数箇所に binding.irb を記述した時、IRBのセッションがどこから起動されたのか分からず困っています。
以下のように、 binding.irb からIRBを起動した時だけどこから起動されたのかわかるととても助かるのですが、いかがでしょうか。

~~~
$ cat /tmp/test.rb
def test
  binding.irb
end

test
$ ruby /tmp/test.rb
From: /tmp/test.rb @ line 2 :

    1: def test
 => 2:   binding.irb
    3: end
    4:
    5: test

irb(main):001:0>
~~~

パッチ: https://github.com/ruby/ruby/pull/1764



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-24  3:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-14124.20171121180847@ruby-lang.org>
2017-11-21 18:08 ` [ruby-dev:50319] [Ruby trunk Feature#14124] Show source around binding.irb on irb startup takashikkbn
2017-11-24  3:51 ` [ruby-dev:50320] " takashikkbn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).