Class: Sapphire::DSL::Browser::AltText
- Defined in:
- lib/sapphire/DSL/Evaluators/AltText.rb
Instance Method Summary collapse
Methods inherited from Evaluator
Constructor Details
This class inherits a constructor from Sapphire::DSL::Evaluator
Instance Method Details
#execute ⇒ Object
9 10 11 12 |
# File 'lib/sapphire/DSL/Evaluators/AltText.rb', line 9 def execute @comparator = EqualsComparison.new(@item) if @comparator == nil @item.AltText(@item, @comparator) end |