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:
parent
2f19f4d1d8
commit
8bdaaeb99a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue