class SNMP::Integer32

Public Class Methods

new(value) click to toggle source
Calls superclass method SNMP::Integer.new
# File lib/snmp/varbind.rb, line 123
def initialize(value)
  super(value)
  raise ArgumentError, "Out of range: #{@value}" if @value < -2147483648
  raise ArgumentError, "Out of range: #{@value}" if @value > 2147483647
end