lib/vedeu/groups/group.rb in vedeu-0.6.60 vs lib/vedeu/groups/group.rb in vedeu-0.6.61

- old
+ new

@@ -135,14 +135,15 @@ end # Remove all members from the group. # # @return [Vedeu::Groups::Group] - def reset + def reset! attrs = defaults.merge!(name: name) Vedeu::Groups::Group.store(attrs) end + alias_method :reset, :reset! # Show the named group of interfaces, or without a name, the # group of the currently focussed interface. # # @example