Class: Mysql::Time

Inherits:
Object show all
Defined in:
activerecord/lib/active_record/connection_adapters/mysql_adapter.rb

Instance Method Summary collapse

Instance Method Details

#to_dateObject



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

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