Class: Todoplicator::FindAdapter
- Inherits:
-
Object
- Object
- Todoplicator::FindAdapter
- Defined in:
- lib/todoplicator/find_adapter.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(location) ⇒ FindAdapter
constructor
A new instance of FindAdapter.
Constructor Details
#initialize(location) ⇒ FindAdapter
Returns a new instance of FindAdapter.
7 8 9 |
# File 'lib/todoplicator/find_adapter.rb', line 7 def initialize(location) @location = location end |
Class Method Details
.call(*args) ⇒ Object
3 4 5 |
# File 'lib/todoplicator/find_adapter.rb', line 3 def self.call(*args) new(*args).call end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'lib/todoplicator/find_adapter.rb', line 11 def call klass.new(target) end |