summaryrefslogtreecommitdiffstats
path: root/lib/net
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-16 17:47:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-16 17:47:19 +0000
commit9246a73c21dab6031e8036b3ebaa3b943d2119d1 (patch)
treea700e3fe92165180b04451746f9c4fda4f038289 /lib/net
parentd9a34753f78b8db5115b10bb1df137a16c4c90cf (diff)
downloadruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.tar.gz
ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.tar.xz
ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.zip
consistent parentheses in assignment RHS.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/telnet.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/telnet.rb b/lib/net/telnet.rb
index 7e2cd50f7..55c9a4e6c 100644
--- a/lib/net/telnet.rb
+++ b/lib/net/telnet.rb
@@ -313,7 +313,7 @@ module Net # :nodoc:
end
hexvals = line.unpack('H*')[0]
hexvals += ' ' * (32 - hexvals.length)
- hexvals = format "%s %s %s %s " * 4, *hexvals.unpack('a2' * 16)
+ hexvals = format("%s %s %s %s " * 4, *hexvals.unpack('a2' * 16))
line = line.gsub(/[\000-\037\177-\377]/n, '.')
printf "%s 0x%5.5x: %s%s\n", dir, addr, hexvals, line
addr += 16