# File lib/puppet/network/rights.rb, line 256 256: def <=>(rhs) 257: # move namespace rights at front 258: if self.acl_type != rhs.acl_type 259: return self.acl_type == :name ? -1 : 1 260: end 261: 262: # sort by creation order (ie first match appearing in the file will win) 263: # that is don't sort, in which case the sort algorithm will order in the 264: # natural array order (ie the creation order) 265: return 0 266: end