README.md in capybara-screenshot-diff-1.0.2 vs README.md in capybara-screenshot-diff-1.1.0
- old
+ new
@@ -407,9 +407,15 @@
```ruby
Capybara::Screenshot::Diff.skip_area = [0, 0, 64, 48]
```
+If you need to ignore multiple areas, you can supply an array of arrays:
+
+```ruby
+screenshot 'index', skip_area: [[0, 0, 64, 48], [17, 6, 27, 16]]
+```
+
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.