module Applb::Filterable
Public Instance Methods
target?(lb_name)
click to toggle source
# File lib/applb/filterable.rb, line 3 def target?(lb_name) unless @options[:includes].empty? return @options[:includes].include?(lb_name) end unless @options[:excludes].empty? return !@options[:excludes].any? { |regex| lb_name =~ regex } end true end