Skip to content

Commit 6bcdfeb

Browse files
committed
PROTON-2498: [Ruby] Fix binding for ruby 3.1
1 parent afd07cd commit 6bcdfeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ruby/lib/core/uri.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class AMQP < Generic
2727
# @return [String] The AMQP address is the {#path} stripped of any leading "/"
2828
def amqp_address() path[0] == "/" ? path[1..-1] : path; end
2929
end
30-
@@schemes['AMQP'] = AMQP
30+
scheme_list['AMQP'] = AMQP
3131

3232
# AMQPS URI scheme for the AMQP protocol over TLS
3333
class AMQPS < AMQP
3434
DEFAULT_PORT = 5671
3535
end
36-
@@schemes['AMQPS'] = AMQPS
36+
scheme_list['AMQPS'] = AMQPS
3737
end
3838

3939
module Qpid::Proton

0 commit comments

Comments
 (0)