Use word operator for control flow
This commit is contained in:
parent
528cfd7654
commit
af9dfc5a16
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def strategy
|
||||
@strategy || raise(Error, 'No strategy was set!')
|
||||
@strategy or raise(Error, 'No strategy was set!')
|
||||
@strategy.new(self)
|
||||
end
|
||||
memoize :strategy
|
||||
|
|
Loading…
Reference in a new issue