Class: SNMP::Open::Parser::ValueParser::Default
- Inherits:
-
SNMP::Open::Parser::ValueParser
- Object
- SNMP::Open::Parser::ValueParser
- SNMP::Open::Parser::ValueParser::Default
- 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
Constants included from Constants
Constants::NOMOREVARIABLES_STR, Constants::NOSUCHINSTANCE_STR, Constants::NOSUCHOBJECT_STR
Instance Method Summary collapse
-
#initialize(_type, token) ⇒ Default
constructor
A new instance of Default.
Methods inherited from SNMP::Open::Parser::ValueParser
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 |