1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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