aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/ruby/shim.rb
blob: 43e7ffc93834f022ff1160481f537686215be4eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Backported Ruby builtins so you can code with the latest & greatest
# but still run on any Ruby 1.8.x.
#
# Date        next_year, next_month
# DateTime    to_date, to_datetime, xmlschema
# Enumerable  group_by, each_with_object, none?
# Integer     even?, odd?
# Object      tap
# Process     Process.daemon
# REXML       security fix
# String      ord
# Time        to_date, to_time, to_datetime
require 'active_support'
require 'active_support/core_ext/date/calculations'
require 'active_support/core_ext/date_time/conversions'
require 'active_support/core_ext/enumerable'
require 'active_support/core_ext/integer/even_odd'
require 'active_support/core_ext/object/tap'
require 'active_support/core_ext/process/daemon'
require 'active_support/core_ext/string/conversions'
require 'active_support/core_ext/rexml'
require 'active_support/core_ext/time/conversions'