# File lib/rufus/lru.rb, line 196 def call_on_removal(value) if ! @on_removal # nothing to do elsif @on_removal.is_a?(Symbol) value.send(@on_removal) else # must be a block @on_removal.call(value) end end