# File lib/declarative_authorization/development_support/change_analyzer.rb, line 147 def eql? (other) # TODO use approach.users.index(self[idx]) == # other.approach.users.index(other[idx]) # instead of user.login other.is_a?(Array) && other.length == length && (0...length).all? {|idx| self[idx].class == other[idx].class && ((self[idx].respond_to?(:to_sym) && self[idx].to_sym == other[idx].to_sym) || (self[idx].respond_to?(:login) && self[idx].login == other[idx].login) || self[idx] == other[idx] ) } end
Generated with the Darkfish Rdoc Generator 2.