このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

Ruby 2.3.0 リファレンスマニュアル

instance method Date#day

mday -> Integer[permalink][rdoc]
day -> Integer

月の日を返します (1-31)。