Class: Ronin::Core::OutputFormats::TXT

Inherits:
OutputFile show all
Defined in:
lib/ronin/core/output_formats/txt.rb

Overview

Represents a plain-text list of discovered values.

Since:

  • 0.2.0

Instance Attribute Summary

Attributes inherited from OutputFile

#io

Instance Method Summary collapse

Methods inherited from OutputFile

#close, #initialize, open

Constructor Details

This class inherits a constructor from Ronin::Core::OutputFormats::OutputFile

Instance Method Details

#<<(value) ⇒ self

Appends a value to the list output stream.

Parameters:

  • value (#to_s)

    The value to append.

Returns:

  • (self)

Since:

  • 0.2.0



41
42
43
44
45
# File 'lib/ronin/core/output_formats/txt.rb', line 41

def <<(value)
  @io.puts(value.to_s)
  @io.flush
  return self
end