Module: Carb::Container::Base
- Included in:
- Carb::Container, DelegateContainer, ErrorContainer, RegistryContainer
- Defined in:
- lib/carb/container/base.rb
Overview
Interface for container definition
Instance Method Summary collapse
Instance Method Details
#[](name) ⇒ Object
6 7 8 |
# File 'lib/carb/container/base.rb', line 6 def [](name) raise NotImplementedError, "#[] not implemented" end |
#has_key?(name) ⇒ Boolean
10 11 12 |
# File 'lib/carb/container/base.rb', line 10 def has_key?(name) raise NotImplementedError, "#has_key? not implemented" end |