Sha256: e1105160ea907153d8893ce3206a845fac37ecbb20f76213bcfb1b76bae6c2d0
Contents?: true
Size: 416 Bytes
Versions: 4
Compression:
Stored size: 416 Bytes
Contents
require 'protobuf/field/varint_field' module Protobuf module Field class Uint64Field < VarintField ## # Class Methods # def self.max UINT64_MAX end def self.min 0 end def json_encode(value, options = {}) if options[:proto3] value == 0 ? nil : value.to_s else value end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems