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 def freeze
super super
@arena.pin self @arena.pin self
self
end end
def dup def dup

Loading…
Cancel
Save