Use long operator form in non boolean context
This commit is contained in:
parent
5a7cc0b965
commit
e90f3c86aa
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ module Mutant
|
|||
def method
|
||||
scope_matcher.methods.detect do |method|
|
||||
method.name == method_name
|
||||
end || raise("Cannot find #{method_name} for #{scope}")
|
||||
end or raise("Cannot find #{method_name} for #{scope}")
|
||||
end
|
||||
memoize :method, :freezer => :noop
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue