# File lib/declarative_authorization/development_support/change_supporter.rb, line 304 def resembles? (spec) @actions.any? {|action| action.resembles?(spec) } or to_a.any? do |array| min_length = [spec.length, array.length].min array[0,min_length] == spec[0,min_length] end end