lib/protobuf_transpiler.rb in protobuf_transpiler-1.1.1 vs lib/protobuf_transpiler.rb in protobuf_transpiler-1.1.2

- old
+ new

@@ -155,10 +155,10 @@ "stream #{type}" end end monkey_patch_descriptor = Module.new do - def each_oneof(&) + def each_oneof(&block) return super if block_given? Enumerator.new do |y| super do |d| y << d