lib/nanoc/base/views/item_rep_view.rb in nanoc-4.1.1 vs lib/nanoc/base/views/item_rep_view.rb in nanoc-4.1.2
- old
+ new
@@ -13,10 +13,10 @@
# @see Object#==
def ==(other)
other.respond_to?(:item) && other.respond_to?(:name) && item == other.item && name == other.name
end
- alias_method :eql?, :==
+ alias eql? ==
# @see Object#hash
def hash
self.class.hash ^ item.identifier.hash ^ name.hash
end