Sha256: 4e8c77a7a6b3245990e239acd54d89197004b3953119628b43f3c79897618ebc

Contents?: true

Size: 313 Bytes

Versions: 30

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

module Kitchen
  module Directions
    module MoveTitleTextIntoSpan
      def self.v1(title:)
        title.replace_children(with:
          <<~HTML
            <span data-type="" itemprop="" class="os-text">#{title.text}</span>
          HTML
        )
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
openstax_kitchen-19.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-18.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-17.1.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-17.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-16.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-15.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-14.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-13.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-12.2.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-12.1.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-12.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-11.2.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-11.1.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-11.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-10.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-9.2.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-9.1.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-9.0.0 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-8.0.1 lib/kitchen/directions/move_title_text_into_span.rb
openstax_kitchen-8.0.0 lib/kitchen/directions/move_title_text_into_span.rb