Class: Applitools::Selenium::VGRegion
- Inherits:
-
Object
- Object
- Applitools::Selenium::VGRegion
- Defined in:
- lib/applitools/selenium/visual_grid/vg_region.rb
Instance Attribute Summary collapse
-
#padding_proc ⇒ Object
Returns the value of attribute padding_proc.
-
#region ⇒ Object
Returns the value of attribute region.
Instance Method Summary collapse
-
#initialize(region, padding_proc) ⇒ VGRegion
constructor
A new instance of VGRegion.
- #to_s ⇒ Object
Constructor Details
#initialize(region, padding_proc) ⇒ VGRegion
Returns a new instance of VGRegion.
6 7 8 9 |
# File 'lib/applitools/selenium/visual_grid/vg_region.rb', line 6 def initialize(region, padding_proc) self.region = region self.padding_proc = padding_proc end |
Instance Attribute Details
#padding_proc ⇒ Object
Returns the value of attribute padding_proc.
5 6 7 |
# File 'lib/applitools/selenium/visual_grid/vg_region.rb', line 5 def padding_proc @padding_proc end |
#region ⇒ Object
Returns the value of attribute region.
5 6 7 |
# File 'lib/applitools/selenium/visual_grid/vg_region.rb', line 5 def region @region end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/applitools/selenium/visual_grid/vg_region.rb', line 11 def to_s region.inspect end |