summaryrefslogtreecommitdiff
path: root/lib/zipf/fileutil.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zipf/fileutil.rb')
-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