SNMP in rails

Can anyone tell me the equivalent of snmpset() and snmpget() functions
of php in rails??

thanks in advance.

You could start with the Ruby SNMP, do "gem install snmp". The home
site is http://snmplib.rubyforge.org/ and http://snmplib.rubyforge.org/doc/index.html
provides the rdocs.