1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/date.rb (daynum): should be private.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tadf 2010-11-22 22:28:01 +00:00
parent 04608d226c
commit ed5c01b9a3
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Tue Nov 23 07:27:27 2010 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date.rb (daynum): should be private.
Tue Nov 23 07:22:54 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ChangeLog (change-log-indent-text): hunging indent.

View file

@ -1144,6 +1144,7 @@ class Date
def daynum() ajd_to_jd(@ajd, @of) end
once :daynum
private :daynum
# Get the date as a Julian Day Number.
def jd() daynum[0] end