Class: Crowbar::Client::Filter::Hash
- Defined in:
- lib/crowbar/client/filter/hash.rb
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
21 22 23 24 25 26 27 28 29 |
# File 'lib/crowbar/client/filter/hash.rb', line 21 def process [:values].select do |row| result = row.values.map do |value| value.include? [:filter] end result.include? true end end |