class WithClues::Html

Public Instance Methods

dump(notifier, page:, context:) click to toggle source
# File lib/with_clues/html.rb, line 3
def dump(notifier, page:, context:)
  if !page.respond_to?(:html)
    notifier.notify "Something may be wrong. page (#{page.class}) does not respond to #html"
    return
  end
  notifier.blank_line
  notifier.notify "HTML {"
  notifier.blank_line
  notifier.notify_raw page.html
  notifier.blank_line
  notifier.notify "} END HTML"
end