Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library date > class DateTime > hour
hour -> Integer
時間を返します (0-23)。