lib/watir/generator/base/spec_extractor.rb in watir-6.16.5 vs lib/watir/generator/base/spec_extractor.rb in watir-6.17.0
- old
+ new
@@ -107,12 +107,12 @@
implementee_name = is.implementee.gsub(/^::/, '')
begin
intf = fetch_interface(implementor_name).first
intf.implements << fetch_interface(implementee_name).first
- rescue InterfaceNotFound => ex
- puts ex.message
+ rescue InterfaceNotFound => e
+ puts e.message
end
end
end
def apply_includes(includes)
@@ -121,11 +121,11 @@
includee_name = is.includee.gsub(/^::/, '')
begin
intf = fetch_interface(includer_name).first
intf.includes << fetch_interface(includee_name).first
- rescue InterfaceNotFound => ex
- puts ex.message
+ rescue InterfaceNotFound => e
+ puts e.message
end
end
end
def merge_interfaces