Class: Applitools::Base::ImagePosition

Inherits:
Object
  • Object
show all
Defined in:
lib/applitools/base/image_position.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#imageObject

Returns the value of attribute image.



3
4
5
# File 'lib/applitools/base/image_position.rb', line 3

def image
  @image
end

#positionObject

Returns the value of attribute position.



3
4
5
# File 'lib/applitools/base/image_position.rb', line 3

def position
  @position
end