lib/submodules/ably-ruby/lib/ably/modules/async_wrapper.rb in ably-rest-1.2.2 vs lib/submodules/ably-ruby/lib/ably/modules/async_wrapper.rb in ably-rest-1.2.3

- old
+ new

@@ -34,9 +34,10 @@ private # Will yield the provided block in a new thread and return an {Ably::Util::SafeDeferrable} # # @yield [Object] operation block that is run in a thread + # # @return [Ably::Util::SafeDeferrable] # def async_wrap(success_callback = nil, custom_error_handling = nil) raise ArgumentError, 'Block required' unless block_given?