Sha256: 87b419714d68966b8a7080dec0563a5cbb3a5aa25f144f3690089b2750bb8fb5

Contents?: true

Size: 527 Bytes

Versions: 3

Compression:

Stored size: 527 Bytes

Contents

module OrigenTesters
  module SmartestBasedTester
    class Base
      module Processors
        # Extracts all runtime variables which are set within the given flow, returning
        # them in an array
        class ExtractSetVariables < ATP::Processor
          def run(nodes)
            @results = []
            process_all(nodes)
            @results.uniq
          end

          def on_set_run_flag(node)
            flag = node.value
            @results << flag
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
origen_testers-0.13.1 lib/origen_testers/smartest_based_tester/base/processors/extract_set_variables.rb
origen_testers-0.13.0 lib/origen_testers/smartest_based_tester/base/processors/extract_set_variables.rb
origen_testers-0.12.0 lib/origen_testers/smartest_based_tester/base/processors/extract_set_variables.rb