Gary Wright wrote:
> On Jan 16, 2008, at 12:13 PM, jackster the jackle wrote:
>>
>> if I do:
>>   trap.value
>>
>> I get the encoding again.
> 
> Well I just perused the documentation at: <http://
> snmplib.rubyforge.org/doc/index.html>
> 
> It looks like a trap object holds a collection of snmp variables you
> could get at the info like this:
> 
> trap.each_varbind { |v|
>    puts v.name
>    puts v.value
>    puts v.value.asn1_type    # or maybe v.asn1_type
> }
> 
> or something close to that.  I'm just reading the docs, not running
> the software.
> 
> Gary Wright

thank alot Gary...that works...

jackster.mobi
-- 
Posted via http://www.ruby-forum.com/.