Class: Mysql::Time

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

Instance Method Summary collapse

Instance Method Details

#to_dateObject



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

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