lib/vedeu/groups/group.rb in vedeu-0.8.6 vs lib/vedeu/groups/group.rb in vedeu-0.8.7
- old
+ new
@@ -87,11 +87,11 @@
# @return [Boolean]
def eql?(other)
self.class == other.class && name == other.name &&
members == other.members
end
- alias_method :==, :eql?
+ alias == eql?
# Hide the named group of interfaces, or without a name, the
# group of the currently focussed interface. Useful for hiding
# part of that which is currently displaying in the terminal.
#
@@ -136,10 +136,10 @@
def reset!
attrs = defaults.merge!(name: name)
Vedeu::Groups::Group.store(attrs)
end
- alias_method :reset, :reset!
+ alias reset reset!
# Show the named group of interfaces, or without a name, the
# group of the currently focussed interface.
#
# @example