Skip to content

Comments

[pull] master from ruby:master#230

Merged
pull[bot] merged 1 commit intoturkdevops:masterfrom
ruby:master
Sep 3, 2025
Merged

[pull] master from ruby:master#230
pull[bot] merged 1 commit intoturkdevops:masterfrom
ruby:master

Conversation

@pull
Copy link

@pull pull bot commented Sep 3, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

…ven a Float `max`

* [DOC] Clarify differences between Kernel.rand and Random.rand

* `Kernel.rand` converts the `max` Float argument to Integer and returns Integer values
* `Random.rand` preserves the `max` Float argument and returns Float values
* Added examples demonstrating the behavioral differences
@pull pull bot locked and limited conversation to collaborators Sep 3, 2025
@pull pull bot added the ⤵️ pull label Sep 3, 2025
@pull pull bot merged commit 01e27ac into turkdevops:master Sep 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant