lib/cancan/conditions_matcher.rb
# Matches the block or conditions hash
Matches the block or conditions hash
Matches the block or conditions hash
def matches_block_conditions(subject, *extra_args)
      return @base_behavior if subject_class?(subject)
      @block.call(subject, *extra_args.compact)
    end
def matches_block_conditions ( subject , * extra_args ) return @base_behavior if subject_class? ( subject ) @block . call ( subject , * extra_args . compact ) end
Matches the block or conditions hash
Matches the block or conditions hash
subject
<not_specific>
extra_args
<not_specific>