Project

General

Profile

Actions

Feature #11694

open

Numeric#nonpositive?, nonnegative?

Added by 5.5 (5 5) over 8 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-dev:49347]

Description

数値が正であるという条件式のほか,非負であるという条件式もしばしば使います。
Numeric#positive?, negative? があるのなら Numeric#nonpositive?, nonnegative? もあってほしい。

No data to display

Actions

Also available in: Atom PDF

Like0