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