#1181 Add Magnitude>>between:and:

Closed
opened 8 years ago by nero · 1 comments

Originally at 2015-05-21T10:49:29Z by Hannes Hirzel

A method which Pharo has

between: min and: max 
    "Answer whether the receiver is less than or equal to the argument, max, 
    and greater than or equal to the argument, min."

    ^self >= min and: [self <= max]

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Originally at 2015-05-21T10:49:29Z by Hannes Hirzel A method which Pharo has between: min and: max "Answer whether the receiver is less than or equal to the argument, max, and greater than or equal to the argument, min." ^self >= min and: [self <= max] <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/16431619-add-magnitude-between-and?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github). </bountysource-plugin>
Herby Vojčík commented 5 years ago
Owner

Fixed in 4dfbe9fa97.

Fixed in 4dfbe9fa972ad6390210867fba40afcb12384e6e.
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.