Skip to content

Commit

Permalink
Move Engine#values up.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed May 28, 2024
1 parent 8624ae8 commit e7d29ca
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lib/ronin/recon/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,18 @@ def initialize(values, workers: WorkerSet.default,
yield self if block_given?
end

#
# The discovered recon values.
#
# @return [Set<Value>]
# The set of discovered recon values.
#
# @api public
#
def values
@graph.nodes
end

#
# Runs the recon engine with the given initial values.
#
Expand Down Expand Up @@ -584,18 +596,6 @@ def shutdown!
end
end

#
# The discovered recon values.
#
# @return [Set<Value>]
# The set of discovered recon values.
#
# @api public
#
def values
@graph.nodes
end

end
end
end

0 comments on commit e7d29ca

Please sign in to comment.