From 47498a7f59d0196e9b8aa8e3569cbb4937477cef Mon Sep 17 00:00:00 2001 From: Carlhuda Date: Tue, 23 Feb 2010 17:42:14 -0800 Subject: Woops, forgot to actually add active_support/core_ext/file/path.rb --- activesupport/lib/active_support/core_ext/file/path.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 activesupport/lib/active_support/core_ext/file/path.rb (limited to 'activesupport/lib/active_support/core_ext/file/path.rb') 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 -- cgit v1.2.3