Class: SNMP::Open::Parser::ValueParser::Default

Inherits:
SNMP::Open::Parser::ValueParser show all
Defined in:
lib/snmp/open/parser/value_parser.rb

Overview

parses objects with no explicit type

Constant Summary

Constants inherited from SNMP::Open::Parser::ValueParser

KNOWN_TOKENS, KNOWN_TYPES

Constants included from Constants

Constants::NOMOREVARIABLES_STR, Constants::NOSUCHINSTANCE_STR, Constants::NOSUCHOBJECT_STR

Instance Method Summary collapse

Methods inherited from SNMP::Open::Parser::ValueParser

find, #parse

Constructor Details

#initialize(_type, token) ⇒ Default

Returns a new instance of Default.



37
38
39
# File 'lib/snmp/open/parser/value_parser.rb', line 37

def initialize(_type, token)
  @parse = ['STRING', token]
end