Class: URI::AMQP
- Inherits:
-
Generic
- Object
- Generic
- URI::AMQP
- Defined in:
- lib/core/uri.rb
Overview
AMQP URI scheme for the AMQP protocol
Direct Known Subclasses
Constant Summary collapse
- DEFAULT_PORT =
5672
Instance Method Summary collapse
-
#amqp_address ⇒ String
The AMQP address is the #path stripped of any leading “/”.
Instance Method Details
#amqp_address ⇒ String
Returns The AMQP address is the #path stripped of any leading “/”.
35 |
# File 'lib/core/uri.rb', line 35 def amqp_address() path[0] == "/" ? path[1..-1] : path; end |