Sha256: e2d8b0918d626aa10e344dce01f176badb317a348e8dd182cc8a627812cbedcb

Contents?: true

Size: 460 Bytes

Versions: 18

Compression:

Stored size: 460 Bytes

Contents

require 'date'
require 'time'

# Ruby 1.8-cvs and 1.9 define private Time#to_date
class Time
  %w(to_date to_datetime).each do |method|
    public method if private_instance_methods.include?(method)
  end
end

require File.dirname(__FILE__) + '/time/calculations'
require File.dirname(__FILE__) + '/time/conversions'

class Time#:nodoc:
  include ActiveSupport::CoreExtensions::Time::Calculations
  include ActiveSupport::CoreExtensions::Time::Conversions
end

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/activesupport/lib/active_support/core_ext/time.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/activesupport/lib/active_support/core_ext/time.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/activesupport/lib/active_support/core_ext/time.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/activesupport/lib/active_support/core_ext/time.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/activesupport/lib/active_support/core_ext/time.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/activesupport/lib/active_support/core_ext/time.rb
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/activesupport/lib/active_support/core_ext/time.rb
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/activesupport/lib/active_support/core_ext/time.rb
activesupport-1.4.4 lib/active_support/core_ext/time.rb
activesupport-1.4.2 lib/active_support/core_ext/time.rb
activesupport-1.4.3 lib/active_support/core_ext/time.rb
radiant-0.6.0 vendor/rails/activesupport/lib/active_support/core_ext/time.rb
radiant-0.6.1 vendor/rails/activesupport/lib/active_support/core_ext/time.rb
radiant-0.6.3 vendor/rails/activesupport/lib/active_support/core_ext/time.rb
radiant-0.6.2 vendor/rails/activesupport/lib/active_support/core_ext/time.rb
radiant-0.6.4 vendor/rails/activesupport/lib/active_support/core_ext/time.rb
rq-3.3.0 rails/vendor/rails/activesupport/lib/active_support/core_ext/time.rb
rq-3.4.0 rails/vendor/rails/activesupport/lib/active_support/core_ext/time.rb