From f61dc0ef6511e585f0b6a8d02b00c17b2388b04a Mon Sep 17 00:00:00 2001 From: Yehuda Katz + Carl Lerche Date: Thu, 3 Sep 2009 11:40:03 -0700 Subject: Remove a useless method in the fixture template class --- actionpack/test/lib/fixture_template.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'actionpack/test/lib') diff --git a/actionpack/test/lib/fixture_template.rb b/actionpack/test/lib/fixture_template.rb index 0a365b3a7e..6b9e7c5270 100644 --- a/actionpack/test/lib/fixture_template.rb +++ b/actionpack/test/lib/fixture_template.rb @@ -7,10 +7,6 @@ module ActionView #:nodoc: private - def or_extensions(array) - "(?:" << array.map {|e| e && Regexp.escape(".#{e}")}.join("|") << ")" - end - def query(path, exts) query = Regexp.escape(path) exts.each do |ext| -- cgit v1.2.3