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.
45 46 47 48 49 50 51 |
# File 'lib/rio/fs/stream.rb', line 45 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.
44 45 46 |
# File 'lib/rio/fs/stream.rb', line 44 def dir @dir end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
44 45 46 |
# File 'lib/rio/fs/stream.rb', line 44 def file @file end |
Class Method Details
.create(*args) ⇒ Object
53 54 55 |
# File 'lib/rio/fs/stream.rb', line 53 def self.create(*args) instance(*args) end |
Instance Method Details
#directory?(s) ⇒ Boolean
57 |
# File 'lib/rio/fs/stream.rb', line 57 def directory?(s) false end |
#symlink?(s) ⇒ Boolean
56 |
# File 'lib/rio/fs/stream.rb', line 56 def symlink?(s) false end |