Sha256: 7a1bdb5320d47c918334d3ad04cb067e8c9c4f64a0ea7e2f8236dad6e0c1f665
Contents?: true
Size: 503 Bytes
Versions: 28
Compression:
Stored size: 503 Bytes
Contents
class IntrospectiveManagerStreamLexer < RubyAMI::Lexer attr_reader :received_messages, :syntax_errors, :ami_errors def initialize(*args) super @received_messages = [] @syntax_errors = [] @ami_errors = [] end def message_received(message = @current_message) @received_messages << message end def error_received(error_message) @ami_errors << error_message end def syntax_error_encountered(ignored_chunk) @syntax_errors << ignored_chunk end end
Version data entries
28 entries across 28 versions & 1 rubygems