Skip to content

Conversation

@olleolleolle
Copy link
Contributor

@olleolleolle olleolleolle commented Sep 16, 2024

This change introduces a local Struct, used in a supporting-deprecated use-case part of the code.

Benefit: When requiring ostruct, a warning is emitted by Ruby, saying that ostruct will no longer be a standard built-in library in Ruby 3.5.0.

This PR avoids the warning by using a Struct.

The OpenStruct library was not used in that test.

ostruct raises a warning about not being a shipped-and-bundled-with-Ruby standard library in Ruby 3.5.0.
...in order to avoid Ruby warnings in Ruby 3.5.0 about ostruct not being a built-in library.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant