Class: URI::AMQP
- Inherits:
-
Generic
- Object
- Generic
- URI::AMQP
- Defined in:
- lib/ext/uri.rb
Constant Summary collapse
- COMPONENT =
[ :scheme, :userinfo, :host, :port, :path ].freeze
- DEFAULT_PORT =
5672
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ AMQP
constructor
A new instance of AMQP.
Constructor Details
#initialize(*args) ⇒ AMQP
Returns a new instance of AMQP.
18 19 20 21 |
# File 'lib/ext/uri.rb', line 18 def initialize(*args) args[5] = '/' if args[5].nil? || args[5] == '' super(*args) end |
Class Method Details
.build(args) ⇒ Object
13 14 15 16 |
# File 'lib/ext/uri.rb', line 13 def self.build(args) tmp = Util::make_components_hash(self, args) return super(tmp) end |