We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d63d2b commit 625ebfdCopy full SHA for 625ebfd
CHANGELOG.rdoc
@@ -1,5 +1,7 @@
1
=== unreleased
2
3
+* Remove redundant call to block_given? in Session#group [paddor]
4
+
5
* Add Channel#on_open_failed callback hook [Jamis Buck]
6
7
lib/net/ssh/multi/session.rb
@@ -219,7 +219,7 @@ def group(*args)
219
begin
220
saved_groups = open_groups.dup
221
open_groups.concat(args.map { |a| a.to_sym }).uniq!
222
- yield self if block_given?
+ yield self
223
ensure
224
open_groups.replace(saved_groups)
225
end
@@ -548,4 +548,4 @@ def realize_pending_connections! #:nodoc:
548
549
550
551
-end; end; end
+end; end; end
0 commit comments