lib/sslyze/target.rb in ruby-sslyze-0.2.0 vs lib/sslyze/target.rb in ruby-sslyze-0.2.1
- old
+ new
@@ -197,11 +197,12 @@
# A SSL protocol.
#
# @return [Enumerator]
# If a no block was given, an Enumerator will be returned.
#
- # @see {#sslv2}, {#sslv3}
+ # @see #sslv2
+ # @see #sslv3
#
def each_ssl_protocol
return enum_for(__method__) unless block_given?
yield sslv2 if sslv2
@@ -227,11 +228,13 @@
# A TLS protocol.
#
# @return [Enumerator]
# If a no block was given, an Enumerator will be returned.
#
- # @see {#tlsv1}, {#tlsv1_1}, {#tlsv1_2}
+ # @see #tlsv1
+ # @see #tlsv1_1
+ # @see #tlsv1_2
#
def each_tls_protocol
return enum_for(__method__) unless block_given?
yield tlsv1 if tlsv1
@@ -258,10 +261,14 @@
# A SSL/TLS protocol.
#
# @return [Enumerator]
# If a no block was given, an Enumerator will be returned.
#
- # @see {#sslv2}, {#sslv3}, {#tlsv1}, {#tlsv1_1}, {#tlsv1_2}
+ # @see #sslv2
+ # @see #sslv3
+ # @see #tlsv1
+ # @see #tlsv1_1
+ # @see #tlsv1_2
#
def each_protocol(&block)
return enum_for(__method__) unless block
each_ssl_protocol(&block)