class Govuk::Diff::Pages::TextDiff::Formatter

Public Instance Methods

call(html) click to toggle source
# File lib/govuk/diff/pages/text_diff/formatter.rb, line 8
def call(html)
  Nokogiri::HTML(html).xpath("//text()").text
end