# File lib/aws/ec2/security_group/ip_permission.rb, line 101 def eql? other other.is_a?(IpPermission) and other.security_group == security_group and other.protocol == protocol and other.port_range == port_range and other.ip_ranges.sort == ip_ranges.sort and other.groups.sort == groups.sort and other.egress? == egress? end