Return self from #freeze.

pull/13420/head
Jason Lunn 1 year ago
parent 28976fec1b
commit 0ea91165fb
  1. 1
      ruby/lib/google/protobuf/ffi/message.rb

@ -83,6 +83,7 @@ module Google
def freeze
super
@arena.pin self
self
end
def dup

Loading…
Cancel
Save