Sha256: c81cc5413e1e00af27f77a75c65873100d7d59dd87f5b2e8cf24720764646bf6

Contents?: true

Size: 407 Bytes

Versions: 147

Compression:

Stored size: 407 Bytes

Contents

import types_pb2
import sys

types = types_pb2.TestTypes()
types.type1 = 0.01
types.type2 = 0.1
types.type3 = 1
types.type4 = 10
types.type5 = 100
types.type6 = 1000
types.type7 = -1
types.type8 = -10
types.type9 = 10000
types.type10 = 100000
types.type11 = False
types.type12 = 'hello all types'
# TODO test type13
#types.type13 = 

f = open('types.bin', 'wb')
f.write(types.SerializeToString())
f.close()

Version data entries

147 entries across 147 versions & 3 rubygems

Version Path
ruby_protobuf-0.4.1 test/data/types_source.py
ruby_protobuf-0.3.3 test/data/types_source.py
ruby_protobuf-0.1.0 test/data/types_source.py
ruby_protobuf-0.2.0 test/data/types_source.py
ruby_protobuf-0.3.0 test/data/types_source.py
ruby_protobuf-0.3.2 test/data/types_source.py
ruby_protobuf-0.0.1 test/data/types_source.py