class Derelict::Parser
Base class for parsers, which extract data from command output
Attributes
output[R]
Public Class Methods
new(output)
click to toggle source
Initializes the parser with the output it will be parsing
# File lib/derelict/parser.rb, line 15 def initialize(output) @output = output logger.debug "Successfully initialized #{description}" end
Public Instance Methods
description()
click to toggle source
Provides a description of this Parser
Mainly used for log messages.
# File lib/derelict/parser.rb, line 23 def description "Derelict::Parser (unknown type)" end