Class: Ronin::Core::OutputFormats::OutputFormat

Inherits:
Object
  • Object
show all
Defined in:
lib/ronin/core/output_formats/output_format.rb

Overview

Base class for all output formats.

Since:

  • 0.2.0

Direct Known Subclasses

OutputDir, OutputFile

Instance Method Summary collapse

Instance Method Details

#<<(value) ⇒ self

This method is abstract.

Writes a value to the output format.

Parameters:

  • value (Object)

    The output value object to write.

Returns:

  • (self)

Raises:

  • (NotImplementedError)

Since:

  • 0.2.0



41
42
43
# File 'lib/ronin/core/output_formats/output_format.rb', line 41

def <<(value)
  raise(NotImplementedError,"#{self.class}#<< was not implemented")
end