Skip to content

Commit

Permalink
Fix doc reference issues
Browse files Browse the repository at this point in the history
  • Loading branch information
iconara committed Oct 28, 2014
1 parent 919dbe3 commit 99552d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/ione/future.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def traverse(values, &block)
# Returns a future that will resolve to a value which is the reduction of
# the values of a list of source futures.
#
# This is essentially a parallel, streaming version of {Enumerable#reduce},
# This is essentially a parallel, streaming version of `Enumerable#reduce`,
# but for futures. Use this method for example when you want to do a number
# of asynchronous operations in parallel and then merge the results together
# when all are done.
Expand Down
6 changes: 3 additions & 3 deletions lib/ione/io/io_reactor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ def stop
#
# @param host [String] the host to connect to
# @param port [Integer] the port to connect to
# @param options_or_timeout [Hash, Numeric] a hash of options (see below)
# @param options [Hash, Numeric] a hash of options (see below)
# or the connection timeout (equivalent to using the `:timeout` option).
# @option options_or_timeout [Numeric] :timeout (5) the number of seconds
# @option options [Numeric] :timeout (5) the number of seconds
# to wait for a connection before failing
# @option options_or_timeout [Boolean, OpenSSL::SSL::SSLContext] :ssl (false)
# @option options [Boolean, OpenSSL::SSL::SSLContext] :ssl (false)
# pass an `OpenSSL::SSL::SSLContext` to upgrade the connection to SSL,
# or true to upgrade the connection and create a new context.
# @yieldparam [Ione::Io::Connection] connection the newly opened connection
Expand Down

0 comments on commit 99552d6

Please sign in to comment.