Class: Firuta::Commands::Find
- Inherits:
-
Base
- Object
- Base
- Firuta::Commands::Find
show all
- Defined in:
- lib/firuta/commands/find.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#call, #initialize
Class Method Details
.terminal? ⇒ Boolean
10
11
12
|
# File 'lib/firuta/commands/find.rb', line 10
def self.terminal?
true
end
|
Instance Method Details
#apply_to(collection) ⇒ Object
6
7
8
|
# File 'lib/firuta/commands/find.rb', line 6
def apply_to(collection)
collection.find(&@proc)
end
|