From 595f2af341e51fcb4dddb812a51587f43cdefdb0 Mon Sep 17 00:00:00 2001 From: ahmed80dz Date: Fri, 7 Oct 2011 23:13:32 +0200 Subject: [PATCH] finally it worked well --- koans/edgecase.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koans/edgecase.rb b/koans/edgecase.rb index dca38ac..03c8f29 100644 --- a/koans/edgecase.rb +++ b/koans/edgecase.rb @@ -4,9 +4,9 @@ require 'test/unit/assertions' begin require 'win32console' - @using_win32console = true + USING_WIN32CONSOLE = true rescue LoadError - @using_win32console = false + USING_WIN32CONSOLE = false end # -------------------------------------------------------------------- # Support code for the Ruby Koans. @@ -124,7 +124,7 @@ module EdgeCase File::ALT_SEPARATOR end def using_win32console - @using_win32console + USING_WIN32CONSOLE end end -- 1.8.0.2