Sha256: 5d93398123e8d2ec3fbdd7932c08ea9f440dbda02c2e428749a55dcb8f584e09

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

module WithClues
  class Html
    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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
with_clues-1.0.0 lib/with_clues/html.rb