現在このようなコードにしています。 Date.new(Time.now.year, Time.now.month, -1).day もっとスマートに書けるんじゃないかと思うんですが、、、、 他に書き方があれば教えて下さい。 もっと言うと、「今日は末日かどうか」の判定を行うために使っています。 これに適した方法があればそちらも教えてくださると嬉しいです。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く