Method: Probot#matching_rule

Defined in:
lib/probot.rb

#matching_rule(url) ⇒ Object



66
# File 'lib/probot.rb', line 66

def matching_rule(url) = (disallowed_best(url)&.last.to_i > allowed_best(url)&.last.to_i) ? {disallow: disallowed_best(url)&.first} : {allow: allowed_best(url)&.first}