Module: FFI::LibC

Extended by:
Library, Net::SNMP::Debug
Defined in:
lib/net/snmp/wrapper.rb

Defined Under Namespace

Classes: Timeval

Class Method Summary collapse

Methods included from Net::SNMP::Debug

print_packet, time

Class Method Details

.afObject



418
# File 'lib/net/snmp/wrapper.rb', line 418

alias af attach_function

.attach_function(*args) ⇒ Object



419
420
421
422
423
# File 'lib/net/snmp/wrapper.rb', line 419

def attach_function(*args)
  af(*args)
rescue Exception => ex
  debug ex.message
end

.attach_variable(*args) ⇒ Object



426
427
428
429
430
# File 'lib/net/snmp/wrapper.rb', line 426

def attach_variable(*args)
  av(*args)
rescue Exception => ex
  debug ex.message
end

.avObject



425
# File 'lib/net/snmp/wrapper.rb', line 425

alias av attach_variable