Arange code in a better way

This commit is contained in:
Markus Schirp 2014-07-11 22:27:24 +00:00
parent e321d7a00d
commit 98116a63d9

View file

@ -31,17 +31,7 @@ module Mutant
host.memoize :coverage
end
end
# Test if operation is failing
#
# @return [Boolean]
#
# @api private
#
def fail?
!success?
end
end # Coverage
# Class level mixin
module ClassMethods
@ -64,6 +54,16 @@ module Mutant
end
memoize name
end
end # ClassMethods
# Test if operation is failing
#
# @return [Boolean]
#
# @api private
#
def fail?
!success?
end
# Return overhead