lib/lotus/utils/callbacks.rb in lotus-utils-0.2.0 vs lib/lotus/utils/callbacks.rb in lotus-utils-0.3.0
- old
+ new
@@ -111,11 +111,11 @@
# It freezes the object by preventing further modifications.
#
# @since 0.2.0
#
- # @see http://ruby-doc.org/core-2.1.2/Object.html#method-i-freeze
+ # @see http://ruby-doc.org/core/Object.html#method-i-freeze
#
# @example
# require 'lotus/utils/callbacks'
#
# chain = Lotus::Utils::Callbacks::Chain.new
@@ -223,10 +223,9 @@
else
method.call
end
end
- protected
def hash
callback.hash
end
def eql?(other)