Class: Thirsty::Callable
- Inherits:
-
Object
- Object
- Thirsty::Callable
- Defined in:
- lib/thirsty/callable.rb
Direct Known Subclasses
Requirement::Get, Requirement::Update, Today::Add, Today::Get
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object abstract
Class Method Details
.call(*args) ⇒ Object
5 6 7 |
# File 'lib/thirsty/callable.rb', line 5 def self.call(*args) new(*args).call end |
Instance Method Details
#call ⇒ Object
This method is abstract.
Subclass is expected to implement #call
|
# File 'lib/thirsty/callable.rb', line 9
|