mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Back ported a lot of changes made to the Koans directory.
Evidently, a lot of changes / pull requests were made to the koans directory and not to the src directory. Perhaps we should remove the koans directory entirely from the repo.
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
# -*- ruby -*-
|
||||
|
||||
require 'test/unit/assertions'
|
||||
begin
|
||||
begin
|
||||
require 'win32console'
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
# Support code for the Ruby Koans.
|
||||
# --------------------------------------------------------------------
|
||||
@@ -121,6 +122,7 @@ module EdgeCase
|
||||
def using_windows?
|
||||
File::ALT_SEPARATOR
|
||||
end
|
||||
|
||||
def using_win32console
|
||||
defined? Win32::Console
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user