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 13 14 15 16 17 18 19 20 |
# File 'lib/boxafe/encfs.rb', line 10 def command [ encfs_config, Shellwords.escape(@options[:encfs]), Shellwords.escape(absolute_root_dir), Shellwords.escape(absolute_mount_dir), extpass, '--', volname ].compact.join ' ' end |