module CanField::CanCan::RuleAdditions

Public Instance Methods

relevant_for_subject?(subject) click to toggle source

for internal use

# File lib/can_field/can_can/rule_additions.rb, line 6
def relevant_for_subject?(subject)
  @match_all || matches_subject?(subject)
end