lib/csl/compatibility.rb in csl-1.0.0.pre1 vs lib/csl/compatibility.rb in csl-1.0.0.pre2

- old
+ new

@@ -15,5 +15,9 @@ def const?(name) const_defined?(name, false) end end end + +class Struct + alias_method :__class__, :class +end unless Struct.instance_methods.include?(:__class__) \ No newline at end of file