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:
parent
04608d226c
commit
ed5c01b9a3
2 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue