class Applitools::Dimension
Attributes
height[RW]
width[RW]
Public Class Methods
new(width, height)
click to toggle source
# File lib/eyes_selenium_ruby/eyes/dimension.rb, line 4 def initialize(width, height) @width = width @height = height end
Public Instance Methods
to_hash()
click to toggle source
# File lib/eyes_selenium_ruby/eyes/dimension.rb, line 9 def to_hash { width: width, height: height} end
values()
click to toggle source
# File lib/eyes_selenium_ruby/eyes/dimension.rb, line 12 def values [width, height] end