Class: Crowbar::Client::Filter::Array
- Defined in:
- lib/crowbar/client/filter/array.rb
Overview
Filter to reduce an array by a given search clause
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Crowbar::Client::Filter::Base
Instance Method Details
#process ⇒ Object
24 25 26 27 28 |
# File 'lib/crowbar/client/filter/array.rb', line 24 def process [:values].select do |row| row.include? [:filter] end end |