Class: Vfs::Storages::Local
- Inherits:
-
Object
- Object
- Vfs::Storages::Local
- Includes:
- LocalVfsHelper
- Defined in:
- lib/vfs/storages/local.rb
Defined Under Namespace
Modules: LocalVfsHelper Classes: Writer
Constant Summary
Constants included from LocalVfsHelper
LocalVfsHelper::DEFAULT_BUFFER
Instance Attribute Summary
Attributes included from LocalVfsHelper
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(root = '') ⇒ Local
constructor
A new instance of Local.
- #open(&block) ⇒ Object
Methods included from LocalVfsHelper
#attributes, #create_dir, #delete_dir, #delete_file, #each_entry, #local?, #read_file, #set_attributes, #tmp, #to_s, #write_file
Constructor Details
Instance Method Details
#close ⇒ Object
180 |
# File 'lib/vfs/storages/local.rb', line 180 def close; end |
#open(&block) ⇒ Object
177 178 179 |
# File 'lib/vfs/storages/local.rb', line 177 def open &block block.call self if block end |