Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #18719 - replace usage of deprecated Fixnum constant #4405

Merged
merged 1 commit into from Mar 26, 2017

Conversation

domcleal
Copy link
Contributor

Most type checks for Fixnum can safely be replaced by Integer, as prior
to Ruby 2.4, Fixnum was a subclass of Integer and so the conditional
holds.

@mention-bot
Copy link

@domcleal, thanks for your PR! By analyzing the history of the files in this pull request, we identified @mbacovsky, @dLobatog and @ares to be potential reviewers.

Most type checks for Fixnum can safely be replaced by Integer, as prior
to Ruby 2.4, Fixnum was a subclass of Integer and so the conditional
holds.
@tbrisker tbrisker merged commit e8d612b into theforeman:develop Mar 26, 2017
@tbrisker
Copy link
Member

Thanks @domcleal !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants