Class: Thirsty::Callable

Inherits:
Object
  • Object
show all
Defined in:
lib/thirsty/callable.rb

Class Method Summary collapse

Instance Method Summary collapse

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

#callObject

This method is abstract.

Subclass is expected to implement #call



# File 'lib/thirsty/callable.rb', line 9