aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/minimalistic.rb
diff options
context:
space:
mode:
authorMichael S. Klishin <michael@novemberain.com>2008-12-28 13:21:10 +0300
committerMichael S. Klishin <michael@novemberain.com>2008-12-28 13:21:10 +0300
commitd77deb89d54b18c662ae3de103802e4d7a9d7d08 (patch)
treef5a77220f9057d3b998e1a2db8166ecc021e32cc /activesupport/lib/active_support/minimalistic.rb
parent5da3ba12159d2c4fc0680efcf0cad8a31f725122 (diff)
downloadrails-d77deb89d54b18c662ae3de103802e4d7a9d7d08.tar.gz
rails-d77deb89d54b18c662ae3de103802e4d7a9d7d08.tar.bz2
rails-d77deb89d54b18c662ae3de103802e4d7a9d7d08.zip
Annotated metaprogramming code across ActiveSupport
Diffstat (limited to 'activesupport/lib/active_support/minimalistic.rb')
-rw-r--r--activesupport/lib/active_support/minimalistic.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/minimalistic.rb b/activesupport/lib/active_support/minimalistic.rb
new file mode 100644
index 0000000000..ecb5de9eaa
--- /dev/null
+++ b/activesupport/lib/active_support/minimalistic.rb
@@ -0,0 +1,15 @@
+$LOAD_PATH.unshift File.dirname(__FILE__)
+
+require "core_ext/blank"
+# whole object.rb pulls up rare used introspection extensions
+require "core_ext/object/metaclass"
+require 'core_ext/array'
+require 'core_ext/hash'
+require 'core_ext/module/attribute_accessors'
+require 'multibyte'
+require 'core_ext/string/multibyte'
+require 'core_ext/string/inflections'
+
+class String
+ include ActiveSupport::CoreExtensions::String::Multibyte
+end