lib/mongo_mapper/extensions/boolean.rb in mongo_mapper-0.9.0 vs lib/mongo_mapper/extensions/boolean.rb in mongo_mapper-0.9.1
- old
+ new
@@ -37,8 +37,8 @@
end
end
end
end
-class Boolean
- extend MongoMapper::Extensions::Boolean
-end
\ No newline at end of file
+class Boolean; end unless defined?(Boolean)
+
+Boolean.extend MongoMapper::Extensions::Boolean