# File lib/hammer_cli/options/matcher.rb, line 20 def attribute_matches?(option, attribute, filter) if filter.is_a? Array return filter.any? {|filter_part| attribute_matches?(option, attribute, filter_part)} elsif filter.is_a? Regexp return attribute_matches_regexp?(option, attribute, filter) else return attribute_matches_value?(option, attribute, filter) end end