Skip to content

Conversation

@androidStern
Copy link

require 'rational' throws a LoadError in ruby 2.7.5 because the Rational class is now included without needing to require it. I've added a backwards compatible way to require rational when dealing with version of ruby need it.

@andyundso
Copy link
Member

Hi @androidStern, thanks for the contribution! We removed the rational requirement in the meantime back when Rubocop was introduced. so, technically Rubcop removed it.

andyundso@c4873cd

@andyundso andyundso closed this May 29, 2025
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.

2 participants