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
183
184
185
|
# File 'lib/rio/ops/dir.rb', line 183
def each(*args,&block)
each_(*args,&block)
end
|
#entries(*args, &block) ⇒ Object
181
|
# File 'lib/rio/ops/dir.rb', line 181
def entries(*args,&block) _set_select('entries',*args,&block) end
|
192
193
194
195
196
197
|
# File 'lib/rio/ops/dir.rb', line 192
def get()
self.each_ent_ { |d|
return d
}
return nil
end
|
188
189
190
|
# File 'lib/rio/ops/dir.rb', line 188
def read()
read_()
end
|
199
|
# File 'lib/rio/ops/dir.rb', line 199
def rewind() ioh.rewind(); self end
|
#seek(integer) ⇒ Object
200
|
# File 'lib/rio/ops/dir.rb', line 200
def seek(integer) ioh.seek(integer); self end
|