summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-11-12 13:08:14 +0100
committerPatrick Simianer <p@simianer.de>2015-11-12 13:08:14 +0100
commitfa12d1ab2963a810d0114e4a45f8efa5941fc569 (patch)
treefdc5f1774542d05aebc9c7561da66ac51e42559c /lib
parente57559f8ae50b489dd5e239179e518d0834054da (diff)
fileutil: add access to File object, bump to 1.2.6
Diffstat (limited to 'lib')
-rw-r--r--lib/zipf/fileutil.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zipf/fileutil.rb b/lib/zipf/fileutil.rb
index 7ae0c55..d9f3e24 100644
--- a/lib/zipf/fileutil.rb
+++ b/lib/zipf/fileutil.rb
@@ -14,6 +14,10 @@ class ReadFile
end
end
+ def get
+ return @f
+ end
+
def gets
@f.gets { |line| yield line }
end