Class: Numeric

Inherits:
Object show all
Defined in:
lib/d_time.rb

Overview

Copyright

Copyright © 2004 Nicolas Despres. All rights reserved.

Author

Nicolas Despres <[email protected]>.

License

Gnu General Public License.

Revision

$Id: /w/fey/ruby_ex/trunk/core_ex/lib/d_time.rb 21961 2006-02-19T19:47:14.158917Z pouillar $

Instance Method Summary collapse

Instance Method Details

#to_dtimeObject Also known as: second



8
9
10
# File 'lib/d_time.rb', line 8

def to_dtime
  DTime.new self
end