Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/rex/parser/parsed_result.rb
21537 views
1
class Rex::Parser::ParsedResult
2
3
attr_accessor :host_ids
4
5
def initialize
6
@host_ids = []
7
end
8
9
def record_host(host)
10
@host_ids << host.id
11
end
12
13
end
14
15