lib/protobuf/field/uint32_field.rb in protobuf-2.8.13 vs lib/protobuf/field/uint32_field.rb in protobuf-3.0.0.rc1
- old
+ new
@@ -1,12 +1,22 @@
require 'protobuf/field/varint_field'
module Protobuf
module Field
class Uint32Field < VarintField
- def self.max; UINT32_MAX; end
- def self.min; 0; end
- def max; UINT32_MAX; end
- def min; 0; end
+
+ ##
+ # Class Methods
+ #
+
+ def self.max
+ UINT32_MAX
+ end
+
+ def self.min
+ 0
+ end
+
end
end
end
+