Module: Ribbit::Adapters
- Defined in:
- lib/ribbit/adapters.rb,
lib/ribbit/adapters/merb.rb,
lib/ribbit/adapters/none.rb,
lib/ribbit/adapters/adapter.rb
Defined Under Namespace
Class Attribute Summary collapse
-
.adapters ⇒ Object
Returns the value of attribute adapters.
Class Method Summary collapse
-
.add_adapter(adapter) ⇒ Object
Register a new adapter - you do not need to call this directly if subclassing Adapter.
- .load_adapter(name) ⇒ Object
Class Attribute Details
.adapters ⇒ Object
Returns the value of attribute adapters.
5 6 7 |
# File 'lib/ribbit/adapters.rb', line 5 def adapters @adapters end |
Class Method Details
.add_adapter(adapter) ⇒ Object
Register a new adapter - you do not need to call this directly if subclassing Adapter
12 13 14 |
# File 'lib/ribbit/adapters.rb', line 12 def add_adapter(adapter) self.adapters << adapter end |