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_non_block_conditions(subject)
      return nested_subject_matches_conditions?(subject) if subject.class == Hash
      return matches_conditions_hash?(subject) unless subject_class?(subject)
      @base_behavior
    end
def matches_non_block_conditions ( subject ) return nested_subject_matches_conditions? ( subject ) if subject . class == Hash return matches_conditions_hash? ( subject ) unless subject_class? ( subject ) @base_behavior end
Matches the block or conditions hash
Matches the block or conditions hash
# Don't stop at "cannot" definitions when there are conditions.
subject
<not_specific>