lib/vedeu/groups/group.rb in vedeu-0.6.24 vs lib/vedeu/groups/group.rb in vedeu-0.6.25

- old
+ new

@@ -67,10 +67,10 @@ # Return the members of the group sorted by the zindex of the # members. # # @return [Array<String>] def by_zindex - interfaces.sort { |a, b| a.zindex <=> b.zindex }.map(&:name) + interfaces.sort_by(&:zindex).map(&:name) end # An object is equal when its values are the same. # # @param other [Vedeu::Groups::Group]