class Applitools::TextTrigger
Attributes
control[R]
text[R]
Public Class Methods
new(text, control)
click to toggle source
# File lib/eyes_selenium_ruby/eyes/text_trigger.rb, line 5 def initialize(text, control) @text = text @control = control end
Public Instance Methods
to_hash()
click to toggle source
# File lib/eyes_selenium_ruby/eyes/text_trigger.rb, line 10 def to_hash { "$type" => "Applitools.Models.TextTrigger, Core", text: text, control: control.to_hash } end