1: 以下、\(^o^)/でVIPがお送りします 2016/02/20(土) 16:26:34.366 ID:fyxGsQlX0.net
まつもと ゆきひろです In message "Re: [ruby-dev:44708] [ruby-trunk - Feature #5513][Open] Numeric へ述語語の追加" on Sun, 30 Oct 2011 17:23:56 +0900, tadayoshi funaba redmine@ruby-lang.org writes: |具体的には以下の述語を追加する事を提案します。 順序を変えてコメントします。 |Numeric#exact?、Numeric#inexact? これは数全般が持つ性質を示しているので、導入に賛成します。 むらけんさんも提案しておられましたね。 |Numeric#rational?、Numeric#complex?、Numeric#float? まあ、すでにinteger?などがあるのではすが、integerでない (real)のものを
We just added Interger#positive? and Interger#negative? to Active Support. I was wondering if we could get that implemented in Ruby itself and searched if it was already requested before to Ruby code. I found that it was requested in #5513, but rejected. Since they were requested with more methods, and I don't know Japanese enough to see if there are technical reasons, I thought to request just th
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く