diff options
author | Patrick Simianer <p@simianer.de> | 2015-11-12 13:08:14 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-11-12 13:08:14 +0100 |
commit | fa12d1ab2963a810d0114e4a45f8efa5941fc569 (patch) | |
tree | fdc5f1774542d05aebc9c7561da66ac51e42559c | |
parent | e57559f8ae50b489dd5e239179e518d0834054da (diff) |
fileutil: add access to File object, bump to 1.2.6
-rw-r--r-- | lib/zipf/fileutil.rb | 4 | ||||
-rw-r--r-- | zipf.gemspec | 4 |
2 files changed, 6 insertions, 2 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 diff --git a/zipf.gemspec b/zipf.gemspec index c192810..b97c716 100644 --- a/zipf.gemspec +++ b/zipf.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'zipf' - s.version = '1.2.5' - s.date = '2015-07-16' + s.version = '1.2.6' + s.date = '2015-11-12' s.summary = 'zipf' s.description = 'NLP related tools and classes' s.authors = ['Patrick Simianer'] |