[ruby/ostruct] Strip trailing spaces
https://github.com/ruby/ostruct/commit/df1109c18f
This commit is contained in:
parent
2f19f4d1d8
commit
8bdaaeb99a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user