lib/sup/mbox/ssh-file.rb in sup-0.4 vs lib/sup/mbox/ssh-file.rb in sup-0.5
- old
+ new
@@ -120,9 +120,10 @@
def eof?; @offset >= size; end
def eof; eof?; end # lame but IO's method is named this and rmail calls that
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
@last_size_check = Time.now
@file_size = do_remote("wc -c #@fn").split.first.to_i