Class: Interface::DefaultAdapter
- Inherits:
-
Object
- Object
- Interface::DefaultAdapter
- Extended by:
- FactoryMethods
- Defined in:
- lib/interface/default_adapter.rb
Instance Method Summary collapse
- #call(*args, &block) ⇒ Object
-
#initialize(callable) ⇒ DefaultAdapter
constructor
A new instance of DefaultAdapter.
Constructor Details
#initialize(callable) ⇒ DefaultAdapter
Returns a new instance of DefaultAdapter.
6 7 8 |
# File 'lib/interface/default_adapter.rb', line 6 def initialize(callable) @callable = callable end |
Instance Method Details
#call(*args, &block) ⇒ Object
10 11 12 |
# File 'lib/interface/default_adapter.rb', line 10 def call(*args, &block) _call(*args, &block) end |