Class: Boxafe::Encfs
- Inherits:
-
Object
- Object
- Boxafe::Encfs
- Defined in:
- lib/boxafe/encfs.rb
Instance Method Summary collapse
- #command ⇒ Object
-
#initialize(options = {}) ⇒ Encfs
constructor
A new instance of Encfs.
Constructor Details
#initialize(options = {}) ⇒ Encfs
Returns a new instance of Encfs.
6 7 8 |
# File 'lib/boxafe/encfs.rb', line 6 def initialize = {} @options = end |
Instance Method Details
#command ⇒ Object
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 |