mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/irb.rb (IRB::Irb#inspect): instance_variables returns symbols
instead of strings now. [ruby-dev:34930] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b2718506ad
commit
50c241002a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Aug 10 09:35:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/irb.rb (IRB::Irb#inspect): instance_variables returns symbols
|
||||
instead of strings now. [ruby-dev:34930]
|
||||
|
||||
Sun Aug 10 09:22:14 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* transcode.c (transcode_char_start): refactored to remove readlen
|
||||
|
|
|
@ -308,7 +308,7 @@ module IRB
|
|||
def inspect
|
||||
ary = []
|
||||
for iv in instance_variables
|
||||
case iv
|
||||
case (iv = iv.to_s)
|
||||
when "@signal_status"
|
||||
ary.push format("%s=:%s", iv, @signal_status.id2name)
|
||||
when "@context"
|
||||
|
|
Loading…
Reference in a new issue