]> git.cworth.org Git - sup/commitdiff
bugfix: ssh-file path method missing
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Fri, 25 Jan 2008 00:23:37 +0000 (16:23 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Fri, 25 Jan 2008 00:23:37 +0000 (16:23 -0800)
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