Class: Docker::Compose::Collection
- Inherits:
-
Array
- Object
- Array
- Docker::Compose::Collection
- Defined in:
- lib/docker/compose/collection.rb
Instance Method Summary collapse
Instance Method Details
#where ⇒ Object
7 8 9 10 11 |
# File 'lib/docker/compose/collection.rb', line 7 def where hits = Collection.new self.each { |c| hits << c if yield(c) } hits end |