Started again with Rails 4
[feedcatcher.git] / vendor / rails / activesupport / lib / active_support / core_ext / pathname / clean_within.rb
diff --git a/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb b/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb
deleted file mode 100644 (file)
index ae03e1b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-module ActiveSupport #:nodoc:
-  module CoreExtensions #:nodoc:
-    module Pathname #:nodoc:
-      module CleanWithin
-        # Clean the paths contained in the provided string.
-        def clean_within(string)
-          string.gsub(%r{[\w. ]+(/[\w. ]+)+(\.rb)?(\b|$)}) do |path|
-            new(path).cleanpath
-          end
-        end
-      end
-    end
-  end
-end