Class: Bunny::RecordedNamedEntity Abstract

Inherits:
RecordedEntity show all
Defined in:
lib/bunny/topology_registry.rb

Overview

This class is abstract.

Represents a named topology entity

Direct Known Subclasses

RecordedExchange, RecordedQueue

Instance Attribute Summary collapse

Attributes inherited from RecordedEntity

#channel

Instance Method Summary collapse

Constructor Details

#initialize(ch, name) ⇒ RecordedNamedEntity

Returns a new instance of RecordedNamedEntity.

Parameters:



459
460
461
462
463
# File 'lib/bunny/topology_registry.rb', line 459

def initialize(ch, name)
  @name = name

  super(ch)
end

Instance Attribute Details

#nameString (readonly)

Returns:

  • (String)


455
456
457
# File 'lib/bunny/topology_registry.rb', line 455

def name
  @name
end