Class: FuseFS::Fuse

Inherits:
RFuse::FuseDelegator
  • Object
show all
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

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

#runObject



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