CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/anemone/extractors/anchors.rb
Views: 1904
1
class Anemone::Extractors::Anchors < Anemone::Extractors::Base
2
3
def run
4
doc.search( '//a[@href]' ).map { |a| a['href'] }
5
end
6
7
end
8
9