Skip to content

Commit

Permalink
Merge pull request #52 from monkey-mas/add-information-to-Time.parse_…
Browse files Browse the repository at this point in the history
…argumentError

Add information to Time.parse ArgumentError
  • Loading branch information
okkez committed Sep 5, 2013
2 parents 2a369d3 + a158884 commit f2bd341
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions refm/api/src/time.rd
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ date を [[m:Date._parse]] によって
@param now 現在時刻を[[c:Time]] オブジェクトで指定します。
デフォルトは[[m:Time.now]]となります。

#@since 1.9.2
@raise ArgumentError date="" のときに発生します。
#@end

# 現在時刻が "Thu Nov 29 14:33:20 GMT 2001" で
# タイムゾーンがGMTとすると:
Time.parse("16:30") #=> Thu Nov 29 16:30:00 GMT 2001
Expand Down

0 comments on commit f2bd341

Please sign in to comment.