lib/fbo/file.rb in fbo-0.1.5 vs lib/fbo/file.rb in fbo-0.1.6
- old
+ new
@@ -3,10 +3,10 @@
module FBO
class File
extend Forwardable
attr_reader :file
- def_delegators :@file, :eof?, :eof
+ def_delegators :@file, :eof?, :eof, :to_path
class << self
def filename_for_date(date)
raise ArgumentError, "No date given for file" unless date
"FBOFeed#{ date.strftime("%Y%m%d") }"