lib/mutant/env.rb in mutant-0.5.25 vs lib/mutant/env.rb in mutant-0.5.26
- old
+ new
@@ -105,10 +105,10 @@
#
def expression(scope)
name = scope_name(scope) or return
unless name.kind_of?(String)
- warn("#{scope.class}#name from: #{scope.inspect} did not return a String or nil. Fix your lib to support normal ruby semantics!")
+ warn("#{scope.class}#name from: #{scope.inspect} did not return a String or nil. Fix your lib to support normal ruby semantics!")
return
end
Expression.try_parse(name)
end