]> git.cworth.org Git - sup/blobdiff - lib/sup/mbox/ssh-file.rb
improve mime-view and mime-decode hook documentation
[sup] / lib / sup / mbox / ssh-file.rb
index 25074beb345493cbfb3dcd21a00150305bfb7c18..d47463692e07bedce205e4c3527f87f345c528c6 100644 (file)
@@ -122,6 +122,7 @@ class SSHFile
   def seek loc; @offset = loc; end
   def tell; @offset; end
   def total; size; end
+  def path; @fn end
 
   def size
     if @file_size.nil? || (Time.now - @last_size_check) > SIZE_CHECK_INTERVAL