Class: RIO::FS::Stream
- Includes:
- Singleton
- Defined in:
- lib/rio/fs/stream.rb
Instance Attribute Summary collapse
-
#dir ⇒ Object
readonly
Returns the value of attribute dir.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Class Method Summary collapse
Instance Method Summary collapse
- #directory?(s) ⇒ Boolean
-
#initialize(*args) ⇒ Stream
constructor
A new instance of Stream.
- #symlink?(s) ⇒ Boolean
Constructor Details
#initialize(*args) ⇒ Stream
Returns a new instance of Stream.
34 35 36 37 38 39 40 |
# File 'lib/rio/fs/stream.rb', line 34 def initialize(*args) @file = nil @test = nil @dir = nil @path = nil @util = nil end |
Instance Attribute Details
#dir ⇒ Object (readonly)
Returns the value of attribute dir.
33 34 35 |
# File 'lib/rio/fs/stream.rb', line 33 def dir @dir end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
33 34 35 |
# File 'lib/rio/fs/stream.rb', line 33 def file @file end |
Class Method Details
.create(*args) ⇒ Object
42 43 44 |
# File 'lib/rio/fs/stream.rb', line 42 def self.create(*args) instance(*args) end |
Instance Method Details
#directory?(s) ⇒ Boolean
46 |
# File 'lib/rio/fs/stream.rb', line 46 def directory?(s) false end |
#symlink?(s) ⇒ Boolean
45 |
# File 'lib/rio/fs/stream.rb', line 45 def symlink?(s) false end |