lib/fear/future.rb in fear-2.0.1 vs lib/fear/future.rb in fear-3.0.0
- old
+ new
@@ -168,10 +168,10 @@
# When this future is completed match against result.
#
# If the future has already been completed,
# this will either be applied immediately or be scheduled asynchronously.
- # @yieldparam [Fear::TryPatternMatch]
+ # @yieldparam [Fear::Try::PatternMatch]
# @return [self]
#
# @example
# Fear.future { }.on_complete_match do |m|
# m.success { |result| }