Class: Applitools::RegionProvider
- Inherits:
-
Object
- Object
- Applitools::RegionProvider
- Defined in:
- lib/applitools/core/region_provider.rb
Instance Attribute Summary collapse
-
#coordinate_type ⇒ Object
readonly
Do we need it under Selenium module?.
-
#region ⇒ Object
readonly
Do we need it under Selenium module?.
Instance Method Summary collapse
-
#initialize(region, coordinate_type) ⇒ RegionProvider
constructor
A new instance of RegionProvider.
- #to_s ⇒ Object
Constructor Details
#initialize(region, coordinate_type) ⇒ RegionProvider
Returns a new instance of RegionProvider.
7 8 9 10 |
# File 'lib/applitools/core/region_provider.rb', line 7 def initialize(region, coordinate_type) @region = region @coordinate_type = coordinate_type end |
Instance Attribute Details
#coordinate_type ⇒ Object (readonly)
Do we need it under Selenium module?
6 7 8 |
# File 'lib/applitools/core/region_provider.rb', line 6 def coordinate_type @coordinate_type end |
#region ⇒ Object (readonly)
Do we need it under Selenium module?
6 7 8 |
# File 'lib/applitools/core/region_provider.rb', line 6 def region @region end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/applitools/core/region_provider.rb', line 12 def to_s "Applitools::RegionProvider(#{region}, #{coordinate_type})" end |