ruby-changes:68166
From: Nobuyoshi <ko1@a...>
Date: Tue, 28 Sep 2021 20:02:01 +0900 (JST)
Subject: [ruby-changes:68166] 8bdaaeb99a (master): [ruby/ostruct] Strip trailing spaces
https://git.ruby-lang.org/ruby.git/commit/?id=8bdaaeb99a From 8bdaaeb99a7e737f9cde38889b94b2bd83d9d2dc Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 28 Sep 2021 19:58:13 +0900 Subject: [ruby/ostruct] Strip trailing spaces https://github.com/ruby/ostruct/commit/df1109c18f --- lib/ostruct.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ostruct.rb b/lib/ostruct.rb index 8680374499..ecfacd10fb 100644 --- a/lib/ostruct.rb +++ b/lib/ostruct.rb @@ -227,7 +227,7 @@ class OpenStruct https://github.com/ruby/ruby/blob/trunk/lib/ostruct.rb#L227 ::Ractor.make_shareable(getter_proc) ::Ractor.make_shareable(setter_proc) end - define_singleton_method!(name, &getter_proc) + define_singleton_method!(name, &getter_proc) define_singleton_method!("#{name}=", &setter_proc) end end -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/