Class: Boxafe::Encfs

Inherits:
Object
  • Object
show all
Defined in:
lib/boxafe/encfs.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Encfs

Returns a new instance of Encfs.



6
7
8
# File 'lib/boxafe/encfs.rb', line 6

def initialize options = {}
  @options = options
end

Instance Method Details

#commandObject



10
11
12
# File 'lib/boxafe/encfs.rb', line 10

def command
  [ encfs_config, @options[:encfs], %/"#{@options[:root]}"/, %/"#{@options[:mount]}"/, extpass, '--', volname ].compact.join ' '
end