lib/submodules/ably-ruby/lib/ably/modules/safe_deferrable.rb in ably-rest-1.2.4 vs lib/submodules/ably-ruby/lib/ably/modules/safe_deferrable.rb in ably-rest-1.2.6
- old
+ new
@@ -37,19 +37,19 @@
super do |*args|
safe_deferrable_block(*args, &block)
end
end
- # Mark the Deferrable as succeeded and trigger all callbacks.
+ # Mark the Deferrable as succeeded and trigger all success callbacks.
# See http://www.rubydoc.info/gems/eventmachine/1.0.7/EventMachine/Deferrable#succeed-instance_method
#
# @return [void]
#
def succeed(*args)
super(*args)
end
- # Mark the Deferrable as failed and trigger all callbacks.
+ # Mark the Deferrable as failed and trigger all error callbacks.
# See http://www.rubydoc.info/gems/eventmachine/1.0.7/EventMachine/Deferrable#fail-instance_method
#
# @return [void]
#
def fail(*args)