Class: FuseFS::Fuse
- Inherits:
-
RFuse::FuseDelegator
- Object
- RFuse::FuseDelegator
- FuseFS::Fuse
- Defined in:
- lib/fuse/rfusefs-fuse.rb
Overview
The real RFuse::Fuse object used by FuseFS
Defined Under Namespace
Classes: Root
Instance Method Summary collapse
-
#initialize(fs, *args) ⇒ Fuse
constructor
A new instance of Fuse.
- #run ⇒ Object
Constructor Details
#initialize(fs, *args) ⇒ Fuse
Returns a new instance of Fuse.
96 97 98 99 |
# File 'lib/fuse/rfusefs-fuse.rb', line 96 def initialize(fs,*args) @fs = fs super end |
Instance Method Details
#run ⇒ Object
101 102 103 104 105 106 107 108 |
# File 'lib/fuse/rfusefs-fuse.rb', line 101 def run begin @fs.mounted super ensure @fs.unmounted end if mounted? end |