lib/cms_scanner/target.rb
def comments_from_page(pattern, page = nil)
      xpath_pattern_from_page('//comment()', pattern, page) do |match, node|
        yield match, node if block_given?
      end
    end
def comments_from_page(pattern, page = nil)
      xpath_pattern_from_page('//comment()', pattern, page) do |match, node|
        yield match, node if block_given?
      end
    end
@param [ Regexp ] pattern
 @param [ Typhoeus::Response, String ] page

 @return [ Array<Array<MatchData, Nokogiri::XML::Comment>> ]
 @yield  [ MatchData, Nokogiri::XML::Comment ]