lib/meta_inspector/exceptionable.rb in metainspector-4.0.0.rc3 vs lib/meta_inspector/exceptionable.rb in metainspector-4.0.0
- old
+ new
@@ -2,8 +2,8 @@
#
# This module extracts two common methods for classes that use ExceptionLog
#
module Exceptionable
extend Forwardable
- def_delegators :@exception_log, :exceptions, :ok?
+ delegate [:exceptions, :ok?] => :@exception_log
end
end