lib/tapioca/dsl/compilers/protobuf.rb in tapioca-0.10.3 vs lib/tapioca/dsl/compilers/protobuf.rb in tapioca-0.10.4
- old
+ new
@@ -282,9 +282,14 @@
"#{field.name}=",
parameters: [create_param("value", type: field.type)],
return_type: "void",
)
+ klass.create_method(
+ "clear_#{field.name}",
+ return_type: "void",
+ )
+
field
end
sig do
params(