- Included in:
- Defined in:
Common behavior of AMQ entities that can be either client or server-named, for example, exchanges and queues.
Instance Method Summary collapse
#server_named? ⇒ Boolean
True if this entity is anonymous (server-named).
Instance Method Details
#server_named? ⇒ Boolean Also known as: anonymous?
Returns true if this entity is anonymous (server-named).
65 66 67
# File 'lib/amqp/entity.rb', line 65 def server_named? @server_named || @name.nil? || @name.empty? end