lib/ronin/recon/engine.rb in ronin-recon-0.1.0.rc1 vs lib/ronin/recon/engine.rb in ronin-recon-0.1.0.rc2
- old
+ new
@@ -86,14 +86,14 @@
attr_reader :logger
#
# Initializes the recon engine.
#
- # @param [Array<Values::Value>] values
+ # @param [Array<Value>] values
# The values to start performing recon on.
#
- # @param [Array<Values::Value>] ignore
+ # @param [Array<Value>] ignore
# The values to ignore while performing recon.
#
# @param [Integer, nil] max_depth
# The maximum depth to limit recon to. If not specified recon will
# continue until there are no more new values discovered.
@@ -116,11 +116,11 @@
# If a block is given it will be passed the newly created engine.
#
# @yieldparam [Engine] self
# The newly initialized engine.
#
- # @yieldparam [Values::Value] parent
+ # @yieldparam [Value] parent
# The parent value which is associated to the discovered value.
#
# @api public
#
def initialize(values, ignore: [],
@@ -184,14 +184,14 @@
# @yield [value, (value, parent)]
# The given block will be passed each discovered value during recon.
# If the block accepts two arguments the value and it's parent value
# will be passed to the block.
#
- # @yieldparam [Values::Value] value
+ # @yieldparam [Value] value
# A value discovered by one of the recon workers.
#
- # @yieldparam [Values::Value] parent
+ # @yieldparam [Value] parent
# The parent value which is associated to the discovered value.
#
# @return [Engine]
# The engine instance.
#
@@ -291,14 +291,14 @@
#
# @yield [worker_class, value, exception]
# If `:job_failed` is given, then any exception raised by a worker will
# be passed to the given block.
#
- # @yieldparam [Values::Value] value
+ # @yieldparam [Value] value
# A discovered value value.
#
- # @yieldparam [Values::Value] parent
+ # @yieldparam [Value] parent
# The parent value of the value.
#
# @yieldparam [Class<Worker>] worker_class
# The worker class.
#
@@ -325,11 +325,11 @@
# Calls the `on(:job_started) { ... }` callbacks.
#
# @param [Worker] worker
# The worker that is processing the value.
#
- # @param [Values::Value] value
+ # @param [Value] value
# The value that is being processed.
#
# @api private
#
def on_job_started(worker,value)
@@ -342,11 +342,11 @@
# Calls the `on(:job_completed) { ... }` callbacks.
#
# @param [Worker] worker
# The worker that processed the value.
#
- # @param [Values::Value] value
+ # @param [Value] value
# The value that was processed.
#
# @api private
#
def on_job_completed(worker,value)
@@ -359,11 +359,11 @@
# Calls the `on(:job_failed) { ... }` callbacks.
#
# @param [Worker] worker
# The worker that raised the exception.
#
- # @param [Values::Value] value
+ # @param [Value] value
# The value that was being processed.
#
# @param [RuntimeError] exception
# The exception raised by the worker.
#
@@ -379,14 +379,14 @@
# Calls the `on(:value) { ... }` callbacks.
#
# @param [Worker] worker
# The worker that discovered the value.
#
- # @param [Values::Value] value
+ # @param [Value] value
# The newly discovered value.
#
- # @param [Values::Value] parent
+ # @param [Value] parent
# The parent value associated with the new value.
#
# @api private
#
def on_value(worker,value,parent)
@@ -403,14 +403,14 @@
# Calls the `on(:connection) { ... }` callbacks.
#
# @param [Worker] worker
# The worker that discovered the value.
#
- # @param [Values::Value] value
+ # @param [Value] value
# The discovered value.
#
- # @param [Values::Value] parent
+ # @param [Value] parent
# The parent value associated with the value.
#
# @api private
#
def on_connection(worker,value,parent)
@@ -608,10 +608,10 @@
end
#
# Sends a new value into the recon engine for processing.
#
- # @param [Values::Value] value
+ # @param [Value] value
# The value object to enqueue.
#
# @api private
#
def enqueue_value(value)