Sha256: 60d21ea320852591bfaa2d2314b9626839eb8ac81c0d696f725ce31b7edbf8ed

Contents?: true

Size: 189 Bytes

Versions: 30

Compression:

Stored size: 189 Bytes

Contents

# frozen_string_literal: true

@solution1 = Kitchen::Recipe.new do |doc|

  div = doc.search('div').first
  div.name = 'h1'
  div.search('span').first.replace_children(with: 'World!')

end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
openstax_kitchen-19.0.0 tutorials/00/solution1.rb
openstax_kitchen-18.0.0 tutorials/00/solution1.rb
openstax_kitchen-17.1.0 tutorials/00/solution1.rb
openstax_kitchen-17.0.0 tutorials/00/solution1.rb
openstax_kitchen-16.0.0 tutorials/00/solution1.rb
openstax_kitchen-15.0.0 tutorials/00/solution1.rb
openstax_kitchen-14.0.0 tutorials/00/solution1.rb
openstax_kitchen-13.0.0 tutorials/00/solution1.rb
openstax_kitchen-12.2.0 tutorials/00/solution1.rb
openstax_kitchen-12.1.0 tutorials/00/solution1.rb
openstax_kitchen-12.0.0 tutorials/00/solution1.rb
openstax_kitchen-11.2.0 tutorials/00/solution1.rb
openstax_kitchen-11.1.0 tutorials/00/solution1.rb
openstax_kitchen-11.0.0 tutorials/00/solution1.rb
openstax_kitchen-10.0.0 tutorials/00/solution1.rb
openstax_kitchen-9.2.0 tutorials/00/solution1.rb
openstax_kitchen-9.1.0 tutorials/00/solution1.rb
openstax_kitchen-9.0.0 tutorials/00/solution1.rb
openstax_kitchen-8.0.1 tutorials/00/solution1.rb
openstax_kitchen-8.0.0 tutorials/00/solution1.rb