You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/async/dns/extensions/resolv.rb
-9
Original file line number
Diff line number
Diff line change
@@ -40,15 +40,6 @@ class OriginError < ArgumentError
40
40
41
41
# Extensions to the `Resolv::DNS::Name` class.
42
42
className
43
-
# Generate a strinng representation of the name.
44
-
#
45
-
# If the name is absolute, a trailing dot is added.
46
-
#
47
-
# @returns [String] The string representation of the name.
48
-
defto_s
49
-
"#{@labels.join('.')}#{@absolute ? '.' : ''}"
50
-
end
51
-
52
43
# Computes the name, typically absolute, with the specified origin as a suffix. If the origin is nil, don't change the name, but change it to absolute (as specified).
53
44
#
54
45
# @parameter origin [Array | String] The origin to append to the name.
0 commit comments