Class: Sapphire::DSL::Browser::Source

Inherits:
Evaluator show all
Defined in:
lib/sapphire/DSL/Evaluators/Source.rb

Instance Method Summary collapse

Methods inherited from Evaluator

#CompareWith, #initialize

Constructor Details

This class inherits a constructor from Sapphire::DSL::Evaluator

Instance Method Details

#executeObject



9
10
11
12
# File 'lib/sapphire/DSL/Evaluators/Source.rb', line 9

def execute
  @comparator = EqualsComparison.new(@item) if @comparator == nil
  @item.Source(@item, @comparator)
end