Class: Messaging::Adapters::Test::Categories
- Inherits:
-
Object
- Object
- Messaging::Adapters::Test::Categories
- Defined in:
- lib/messaging/adapters/test/categories.rb
Instance Method Summary collapse
- #[](name) ⇒ Object
- #clear! ⇒ Object
-
#initialize ⇒ Categories
constructor
A new instance of Categories.
Constructor Details
#initialize ⇒ Categories
Returns a new instance of Categories.
5 6 7 |
# File 'lib/messaging/adapters/test/categories.rb', line 5 def initialize clear! end |
Instance Method Details
#[](name) ⇒ Object
9 10 11 |
# File 'lib/messaging/adapters/test/categories.rb', line 9 def [](name) @categories[name] end |