Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/date.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_time



5
6
7
# File 'lib/ext/date.rb', line 5

def to_time(*)
  ::Time.utc(year, month, day)
end