123456789_123456789_123456789_123456789_123456789_

Class: Mysql::Time

Relationships & Source Files
Inherits: Object
Defined in: activerecord/lib/active_record/connection_adapters/mysql_adapter.rb

Instance Method Summary

Instance Method Details

#to_date

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/mysql_adapter.rb', line 10

def to_date
  Date.new(year, month, day)
end