From 83c06cd8d44013ab7e4c7fb6203cd38d754aa480 Mon Sep 17 00:00:00 2001 From: Jeff Hodges <jeff@somethingsimilar.com> Date: Sat, 30 May 2009 20:23:48 -0700 Subject: [PATCH] initialize @dir_levels as an array --- lib/fakefs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fakefs.rb b/lib/fakefs.rb index 0753734..7eb5490 100644 --- a/lib/fakefs.rb +++ b/lib/fakefs.rb @@ -153,7 +153,7 @@ module FakeFS extend self def dir_levels - @dir_levels + @dir_levels ||= [] end def fs