module Kitchen::Directions::MoveTitleTextIntoSpan
Public Class Methods
v1(title:)
click to toggle source
# File lib/kitchen/directions/move_title_text_into_span.rb, line 6 def self.v1(title:) title.replace_children(with: <<~HTML <span data-type="" itemprop="" class="os-text">#{title.text}</span> HTML ) end