lib/selenium/webdriver/common/html5/shared_web_storage.rb in selenium-webdriver-4.7.1 vs lib/selenium/webdriver/common/html5/shared_web_storage.rb in selenium-webdriver-4.8.0
- old
+ new
@@ -24,11 +24,11 @@
include Enumerable
def key?(key)
keys.include? key
end
- alias_method :member?, :key?
- alias_method :has_key?, :key?
+ alias member? key?
+ alias has_key? key?
def fetch(key)
return self[key] if key? key
return yield(key) if block_given?