Class: Applitools::Base::ImagePosition
- Inherits:
-
Object
- Object
- Applitools::Base::ImagePosition
- Defined in:
- lib/applitools/base/image_position.rb
Instance Attribute Summary collapse
-
#image ⇒ Object
Returns the value of attribute image.
-
#position ⇒ Object
Returns the value of attribute position.
Instance Method Summary collapse
-
#initialize(image, position) ⇒ ImagePosition
constructor
A new instance of ImagePosition.
Constructor Details
#initialize(image, position) ⇒ ImagePosition
Returns a new instance of ImagePosition.
5 6 7 8 |
# File 'lib/applitools/base/image_position.rb', line 5 def initialize(image, position) @image = image @position = position end |
Instance Attribute Details
#image ⇒ Object
Returns the value of attribute image.
3 4 5 |
# File 'lib/applitools/base/image_position.rb', line 3 def image @image end |
#position ⇒ Object
Returns the value of attribute position.
3 4 5 |
# File 'lib/applitools/base/image_position.rb', line 3 def position @position end |