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

debug, error, fatal, info, print_packet, time, warn

Class Method Details

.afObject



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

alias af attach_function

.attach_function(*args) ⇒ Object



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

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

.attach_variable(*args) ⇒ Object



432
433
434
435
436
# File 'lib/net/snmp/wrapper.rb', line 432

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

.avObject



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

alias av attach_variable