class Crowbar::Client::Filter::Array

Filter to reduce an array by a given search clause

Public Instance Methods

process() click to toggle source
# File lib/crowbar/client/filter/array.rb, line 24
def process
  options[:values].select do |row|
    row.include? options[:filter]
  end
end