mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
cancelled r1.25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fe42e405ab
commit
9cd3e4c11c
1 changed files with 0 additions and 3 deletions
|
@ -806,15 +806,12 @@ class Date
|
|||
|
||||
# Get the minute of this date.
|
||||
def min() time[1] end
|
||||
alias :minute :min
|
||||
|
||||
# Get the second of this date.
|
||||
def sec() time[2] end
|
||||
alias :second :sec
|
||||
|
||||
# Get the fraction-of-a-second of this date.
|
||||
def sec_fraction() time[3] end
|
||||
alias :second_fraction :sec_fraction
|
||||
|
||||
private :hour, :min, :sec, :sec_fraction
|
||||
|
||||
|
|
Loading…
Reference in a new issue