| Class | SNMP::Integer |
| In: |
lib/snmp/varbind.rb
|
| Parent: | Object |
# File lib/snmp/varbind.rb, line 63 def self.decode(value_data) Integer.new(decode_integer_value(value_data)) end
# File lib/snmp/varbind.rb, line 79 def coerce(other) if other.kind_of? Fixnum return [other, @value] else return [other.to_f, self.to_f] end end