summaryrefslogtreecommitdiff
path: root/lib/net/ssh/buffer.rb
diff options
context:
space:
mode:
authorMiklos Fazekas <mfazekas@szemafor.com>2018-03-21 16:09:10 +0100
committerMiklos Fazekas <mfazekas@szemafor.com>2018-03-21 16:09:18 +0100
commit069c2e5c1036445d924d3a00a17111322473765a (patch)
treedefc9c72322b151ccdd9dafad7e24a19ef71405c /lib/net/ssh/buffer.rb
parent8f545802bbf05931dfcb46434a54c1fdfdfb7fb4 (diff)
downloadnet-ssh-069c2e5c1036445d924d3a00a17111322473765a.tar.gz
Whitespace fixeswhitespace-fixes
Diffstat (limited to 'lib/net/ssh/buffer.rb')
-rw-r--r--lib/net/ssh/buffer.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/net/ssh/buffer.rb b/lib/net/ssh/buffer.rb
index df91591..8bdf65a 100644
--- a/lib/net/ssh/buffer.rb
+++ b/lib/net/ssh/buffer.rb
@@ -166,7 +166,7 @@ module Net
when String then pattern.length
when Integer then 1
when Regexp then $&.length
- end
+ end
index && read(index + length)
end
@@ -394,4 +394,5 @@ module Net
self
end
end
-end; end;
+ end
+end;