[ruby/ostruct] Strip trailing spaces

https://github.com/ruby/ostruct/commit/df1109c18f
This commit is contained in:
Nobuyoshi Nakada 2021-09-28 19:58:13 +09:00
parent 2f19f4d1d8
commit 8bdaaeb99a

View File

@ -227,7 +227,7 @@ class OpenStruct
::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