aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/file
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-02-23 17:42:14 -0800
committerCarlhuda <carlhuda@engineyard.com>2010-02-23 17:42:26 -0800
commit47498a7f59d0196e9b8aa8e3569cbb4937477cef (patch)
treeda5c42ed1c51b87d19b0e2618ddbb6dd853b6cf0 /activesupport/lib/active_support/core_ext/file
parent24ab5665b2f12a589e96a4b742cc49c08bf0e9df (diff)
downloadrails-47498a7f59d0196e9b8aa8e3569cbb4937477cef.tar.gz
rails-47498a7f59d0196e9b8aa8e3569cbb4937477cef.tar.bz2
rails-47498a7f59d0196e9b8aa8e3569cbb4937477cef.zip
Woops, forgot to actually add active_support/core_ext/file/path.rb
Diffstat (limited to 'activesupport/lib/active_support/core_ext/file')
-rw-r--r--activesupport/lib/active_support/core_ext/file/path.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/file/path.rb b/activesupport/lib/active_support/core_ext/file/path.rb
new file mode 100644
index 0000000000..b5feab80ae
--- /dev/null
+++ b/activesupport/lib/active_support/core_ext/file/path.rb
@@ -0,0 +1,5 @@
+class File
+ unless File.allocate.respond_to?(:to_path)
+ alias to_path path
+ end
+end \ No newline at end of file