lib/onstomp/failover/uri.rb in onstomp-1.0.2 vs lib/onstomp/failover/uri.rb in onstomp-1.0.3
- old
+ new
@@ -25,15 +25,15 @@
end
class << self
# Parses a failover URI string or an array of URIs into a
# {OnStomp::Failover::URI::FAILOVER} object. Ruby's URI parser works
- # fine with +failover:(uri1,uri2,..)?params=..+ style URIs, but chokes
- # on +failover://uri1,uri2,..+ forms. This method gives us a bit more
+ # fine with `failover:(uri1,uri2,..)?params=..` style URIs, but chokes
+ # on `failover://uri1,uri2,..` forms. This method gives us a bit more
# flexibility.
- # @note If you are using the +open-uri+ extension with `failover`, you
- # MUST use the +failover:(uri1,uri2,..)+ form because +open-uri+
- # relies on +URI.parse+ to convert strings into `URI` objects.
+ # @note If you are using the `open-uri` extension with `failover`, you
+ # MUST use the `failover:(uri1,uri2,..)` form because `open-uri`
+ # relies on `URI.parse` to convert strings into `URI` objects.
# @overload parse(str)
# @param [String] str
# @return [FAILOVER]
# @overload parse(uri_arr)
# @param [Array<String or URI>] uri_arr