diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-09-28 19:58:13 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-09-28 20:01:35 +0900 |
commit | 8bdaaeb99a7e737f9cde38889b94b2bd83d9d2dc (patch) | |
tree | ae2455bfb5b144e616198217cb04946194d58a48 | |
parent | 2f19f4d1d8f944a012c691533aeb82151359dfcc (diff) |
[ruby/ostruct] Strip trailing spaces
https://github.com/ruby/ostruct/commit/df1109c18f
-rw-r--r-- | lib/ostruct.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 ::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 |