Sha256: 47c77b519e6bd12a7171723f302a817d35d74f4b7fab4c26a29d316be6caef83
Contents?: true
Size: 658 Bytes
Versions: 5
Compression:
Stored size: 658 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 'active_support/core_ext/time/behavior' require 'active_support/core_ext/time/calculations' require 'active_support/core_ext/time/conversions' require 'active_support/core_ext/time/zones' class Time#:nodoc: include ActiveSupport::CoreExtensions::Time::Behavior include ActiveSupport::CoreExtensions::Time::Calculations include ActiveSupport::CoreExtensions::Time::Conversions include ActiveSupport::CoreExtensions::Time::Zones end
Version data entries
5 entries across 5 versions & 3 rubygems