Module: RIO::Ops::Dir::Stream
Instance Method Summary
collapse
#<, #<<
#cpclose, #cpclose0
#>, #>>
Methods included from Grande
#[]
#ss_type?
#basename=, #chmod, #chown, #dirname=, #empty?, #extname=, #filename=, #mountpoint?, #must_exist, #realpath, #rename, #rename!, #ss_type?
Instance Method Details
#each(*args, &block) ⇒ Object
184
185
186
|
# File 'lib/rio/ops/dir.rb', line 184
def each(*args,&block)
each_(*args,&block)
end
|
#entries(*args, &block) ⇒ Object
182
|
# File 'lib/rio/ops/dir.rb', line 182
def entries(*args,&block) _set_select('entries',*args,&block) end
|
193
194
195
196
197
198
|
# File 'lib/rio/ops/dir.rb', line 193
def get()
self.each_ent_ { |d|
return d
}
return nil
end
|
189
190
191
|
# File 'lib/rio/ops/dir.rb', line 189
def read()
read_()
end
|
200
|
# File 'lib/rio/ops/dir.rb', line 200
def rewind() ioh.rewind(); self end
|
#seek(integer) ⇒ Object
201
|
# File 'lib/rio/ops/dir.rb', line 201
def seek(integer) ioh.seek(integer); self end
|