Permalink
Browse files

Filesystem#ref_valid? was missing

  • Loading branch information...
1 parent 18d06ba commit eb70a9da05297de2445b06558b6a025edd1c3eab @aceofspades committed Aug 21, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 app/persistence/caloris/file_system/page.rb
@@ -1,5 +1,13 @@
module Caloris::Persistence::FileSystem
class Page < Caloris::Page
include Caloris::Persistence::FileSystem::StoredSupport
+
+ def ref_valid?
+ read
+ true
+ rescue
+ false
+ end
+
end
end

0 comments on commit eb70a9d

Please sign in to comment.