From f6c87c02fc130de92df97bcd84510005df47a2ae Mon Sep 17 00:00:00 2001 From: blackhedd Date: Thu, 21 Dec 2006 15:09:29 +0000 Subject: [PATCH] fixed mispelling: TimerTicks is now TimeTicks. --- lib/net/snmp.rb | 2 +- tests/testsnmp.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/net/snmp.rb b/lib/net/snmp.rb index b8aeda2..1c1f28c 100644 --- a/lib/net/snmp.rb +++ b/lib/net/snmp.rb @@ -82,7 +82,7 @@ module Net # SNMP 32-bit timer-ticks. # Defined in RFC1155 (Structure of Mangement Information), section 6. # A 32-bit counter is an ASN.1 application [3] implicit unsigned integer. - class TimerTicks32 + class TimeTicks32 def initialize value @value = value end diff --git a/tests/testsnmp.rb b/tests/testsnmp.rb index 93cfb91..e5a5983 100644 --- a/tests/testsnmp.rb +++ b/tests/testsnmp.rb @@ -120,7 +120,7 @@ class TestSnmp < Test::Unit::TestCase assert_equal( "A\001d", c32.to_ber ) g32 = Net::SNMP::Gauge32.new(100) assert_equal( "B\001d", g32.to_ber ) - t32 = Net::SNMP::TimerTicks32.new(100) + t32 = Net::SNMP::TimeTicks32.new(100) assert_equal( "C\001d", t32.to_ber ) end