contracts 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,15 +0,0 @@
1
- class Module
2
- unless Object.respond_to?(:singleton_class)
3
- # Compatibility with ruby 1.8
4
- def singleton_class
5
- class << self; self; end
6
- end
7
- end
8
-
9
- unless Object.respond_to?(:singleton_class?)
10
- # Compatibility with ruby 1.8
11
- def singleton_class?
12
- self <= Object.singleton_class
13
- end
14
- end
15
- end