diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-09 02:02:58 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-09 02:02:58 +0000 |
commit | 76515504d552d3677f81539c29ed5f558f0dc4f0 (patch) | |
tree | ef35eaabde005fe0350b8ac955a63a4cebaa1cdc /lib/irb/inspector.rb | |
parent | 5afa23b4a46b55667d8f1c6e4490dfb315c8616f (diff) | |
download | ruby-76515504d552d3677f81539c29ed5f558f0dc4f0.tar.gz |
* lib/irb.rb: removed commented-out code.
* lib/irb/**/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/inspector.rb')
-rw-r--r-- | lib/irb/inspector.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/irb/inspector.rb b/lib/irb/inspector.rb index cdd90d4081..f09b12927a 100644 --- a/lib/irb/inspector.rb +++ b/lib/irb/inspector.rb @@ -61,20 +61,6 @@ module IRB # :nodoc: # Inspector.def_inspector(key, inspector) # Inspector.def_inspector([key1,...], inspector) def self.def_inspector(key, arg=nil, &block) - # if !block_given? - # case arg - # when nil, Proc - # inspector = IRB::Inspector(init_p) - # when Inspector - # inspector = init_p - # else - # IRB.Raise IllegalParameter, init_p - # end - # init_p = nil - # else - # inspector = IRB::Inspector(block, init_p) - # end - if block_given? inspector = IRB::Inspector(block, arg) else |