lib/rio/file.rb in rio-0.3.3 vs lib/rio/file.rb in rio-0.3.4
- old
+ new
@@ -62,10 +62,11 @@
include Ops::File::Existing
def check?() self.file? end
def each(*args,&block)
#p "#{callstr('each',*args)} ss_type=#{ss_type?}"
if ss_type? == 'files' and !stream_iter?
- sel = Match::Entry::Selector.new(cx['sel'],cx['nosel'])
+ #sel = Match::Entry::Selector.new(cx['sel'],cx['nosel'])
+ sel = Match::Entry::Selector.new(cx['entry_sel'])
yield new_rio_cx(self) if sel.match?(self)
else
fstream.each(*args,&block)
end
end