Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (5 sloc) 261 Bytes
Object.send(:remove_const, :Date) if defined?(Date)
Object.send(:remove_const, :DateTime) if defined?(DateTime)
dir = File.dirname(File.expand_path(__FILE__))
load File.join(dir, 'date.rb')
load File.join(dir, 'date', 'format.rb') unless defined?(Date::Format)
Something went wrong with that request. Please try again.