diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-18 07:54:50 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-18 07:54:50 +0000 |
commit | 85bae86cb63bc564959f4649a837fcffdccae3ae (patch) | |
tree | 931e71bab40a2cdcd839afba48d6cc67161acc6a /lib/rinda | |
parent | cd5c309542ad7c352fcbcc0abb5a0bdf3f077a4c (diff) | |
download | ruby-85bae86cb63bc564959f4649a837fcffdccae3ae.tar.gz |
* lib/optparse/version.rb: remove variable shadowing to stop
warning. [ruby-core:20612]
* lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb,
lib/rinda/ring.rb, lib/racc/parser.rb,
lib/shell/command-processor.rb, lib/yaml/yamlnode.rb: ditto.
* lib/racc/parser.rb: remove space before parentheses.
* lib/shell/command-processor.rb, lib/shell/process-controller.rb:
use parentheses around arguments.
* lib/irb/ext/change-ws.rb, lib/rexml/validation/relaxng.rb,
lib/yaml/baseemitter.rb: indentation fix.
* lib/matrix.rb: small cosmetic change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rinda')
-rw-r--r-- | lib/rinda/ring.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/rinda/ring.rb b/lib/rinda/ring.rb index f9ef3d1a52..4dc7c7d79a 100644 --- a/lib/rinda/ring.rb +++ b/lib/rinda/ring.rb @@ -256,15 +256,15 @@ if __FILE__ == $0 $stdin.gets when 'w' finger = Rinda::RingFinger.new(nil) - finger.lookup_ring do |ts| - p ts - ts.write([:hello, :world]) + finger.lookup_ring do |ts2| + p ts2 + ts2.write([:hello, :world]) end when 'r' finger = Rinda::RingFinger.new(nil) - finger.lookup_ring do |ts| - p ts - p ts.take([nil, nil]) + finger.lookup_ring do |ts2| + p ts2 + p ts2.take([nil, nil]) end end end |