Sha256: 78f465aacad743b9510af2b05bba414047b460f77c0fadde28416ddf81aa27cc

Contents?: true

Size: 182 Bytes

Versions: 27

Compression:

Stored size: 182 Bytes

Contents

require 'yaml'



y = YAML.load_stream File.read('./dut.yml')


puts y

i=0
y.each do |e|
  puts "#{i}. #{e}"

  e['page']['asserts'].each do |a|
    puts "=> #{a}"
  end
  i+=1
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
scoutui-2.0.3.56.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.55.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.54.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.53.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.52.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.51.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.50.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.49.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.48.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.47.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.46.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.45.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.44.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.43.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.42.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.41.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.40.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.39.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.38.pre examples/yaml/ex_yaml.rb
scoutui-2.0.3.37.pre examples/yaml/ex_yaml.rb