Remove a useless method in the fixture template class
This commit is contained in:
parent
f3fc5c4b5f
commit
f61dc0ef65
@ -7,10 +7,6 @@ def initialize(hash = {}, options = {})
|
||||
|
||||
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|
|
||||
|
Loading…
Reference in New Issue
Block a user