You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit uses OpenStruct only if available because of the following reasons:
- Starting from Ruby 3.4.0dev, Using `ostruct` raises the following warning.
> ostruct was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0. Add ostruct to your Gemfile or gemspec.
- And when the warning category is `:performance` it also raises this warning.
> "OpenStruct use is discouraged for performance reasons
Refer to
https://bugs.ruby-lang.org/issues/20309ruby/ruby#10428ruby/ostruct#56Fix#561
0 commit comments