class Pakyow::Presenter::PartialNode

@api private

Constants

PARTIAL_REGEX

Public Class Methods

significant?(node) click to toggle source
# File lib/pakyow/presenter/significant_nodes.rb, line 114
def self.significant?(node)
  node.is_a?(Oga::XML::Comment) && node.to_xml.strip.match(PARTIAL_REGEX)
end