summaryrefslogtreecommitdiff
blob: bacd69778e5671d56d73c6f4c8760199e79c492f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fix compability with Ruby 1.8 by Alex Legler <a3li@gentoo.org>. It helps to actually mark the method static.

--- src/compat18.rb
+++ src/compat18.rb
@@ -12,7 +12,7 @@
 end
 
 class Dir
-	def exists?(path)
+	def self.exists?(path)
 		File.directory?(path)
 	end
 end