lib/gitolite/dirty_proxy.rb in jbox-gitolite-1.2.0 vs lib/gitolite/dirty_proxy.rb in jbox-gitolite-1.2.1
- old
+ new
@@ -1,6 +1,7 @@
module Gitolite
+
# Very simple proxy object for checking if the proxied object was modified
# since the last clean_up! method called. It works correctly only for objects
# with proper hash method!
class DirtyProxy < BasicObject
@@ -23,7 +24,9 @@
end
def clean_up!
@clean_hash = @target.hash
end
+
end
+
end