lib/contrast/extension/extension.rb in contrast-agent-6.1.0 vs lib/contrast/extension/extension.rb in contrast-agent-6.1.1
- old
+ new
@@ -35,12 +35,12 @@
# the C patches, so this method is helping us move the logic by making some
# conditions
def assign_value path
case path
when /fiber/, /interpolation26/
- require path if Funchook.available?
+ require(path) if Funchook.available?
else
- require path
+ require(path)
end
true
end
# Generate the needed instance variable name and return the extracted name