-
Notifications
You must be signed in to change notification settings - Fork 23
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
Extract Numeric#apply_min_max to #clamp #30
Conversation
@Fryguy Please review |
module MoreCoreExtensions | ||
module NumericClamp | ||
# | ||
# Returns the square of a Numeric. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This description is wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, that's what copy / paste gets you ;) I corrected it.
c051ccd
to
ecbe1b2
Compare
@bdunne Can you please also update the README? |
ecbe1b2
to
74bedbf
Compare
<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush. |
Code extracted from extensions in ManageIQ/manageiq https://github.com/ManageIQ/manageiq/blob/e538e47a4e53190daba4f45283c58303d2afedd6/gems/pending/util/extensions/miq-numeric.rb
74bedbf
to
109358d
Compare
Checked commit bdunne@109358d with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
Code extracted from extensions in ManageIQ/manageiq
https://github.com/ManageIQ/manageiq/blob/e538e47a4e53190daba4f45283c58303d2afedd6/gems/pending/util/extensions/miq-numeric.rb