Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Timeクラス > hour

instance method Time#hour

hour -> Integer

時を整数で返します。

class Time