Skip to content

Commit 9f483ce

Browse files
committed
🔥 Drop redundant SASLAdapter#auth_capable?
It simply delegates to #client, so there's no need to redefine it here.
1 parent e0b8f0b commit 9f483ce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/net/imap/sasl_adapter.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class SASLAdapter < SASL::ClientAdapter
1212

1313
def response_errors; RESPONSE_ERRORS end
1414
def sasl_ir_capable?; client.capable?("SASL-IR") end
15-
def auth_capable?(mechanism); client.auth_capable?(mechanism) end
1615
def drop_connection; client.logout! end
1716
def drop_connection!; client.disconnect end
1817
end

0 commit comments

Comments
 (0)