Class: RIO::FS::Local
- Defined in:
- lib/rio/fs.rb
Constant Summary collapse
Instance Attribute Summary collapse
-
#dir ⇒ Object
readonly
Returns the value of attribute dir.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
- #encoding ⇒ Object
-
#initialize(*args) ⇒ Local
constructor
A new instance of Local.
- #root ⇒ Object
Methods included from RIO::Fwd
#fwd, #fwd_reader, #fwd_readers, #fwd_writer, #fwd_writers
Constructor Details
#initialize(*args) ⇒ Local
Returns a new instance of Local.
123 124 125 126 127 128 129 130 131 |
# File 'lib/rio/fs.rb', line 123 def initialize(*args) @file = ::File @test = ::FileTest @dir = ::Dir require 'pathname' @path = ::Pathname require 'fileutils' @util = ::FileUtils end |