Class: Applitools::Selenium::RenderResources
- Inherits:
-
Hash
- Object
- Hash
- Applitools::Selenium::RenderResources
- Defined in:
- lib/applitools/selenium/render_resources.rb
Defined Under Namespace
Classes: ResourceMissingInCache
Instance Method Summary collapse
Instance Method Details
#[]=(key, value) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/applitools/selenium/render_resources.rb', line 5 def []=(key, value) raise Applitools::EyesIllegalArgument, "Expected key to be an instance of URI (but got #{key.class}) - #{key}" unless key.is_a? URI raise Applitools::EyesIllegalArgument, "Expected value to be an instance of Applitools::Selenium::VGResource" \ " (but got #{value.class}) - #{key}:#{value}" unless value.is_a? Applitools::Selenium::VGResource super end |