Class: Getch::FileSystem::Zfs::Minimal::Deps

Inherits:
Object
  • Object
show all
Includes:
NiTo
Defined in:
lib/getch/filesystem/zfs/minimal/deps.rb

Direct Known Subclasses

Encrypt::Deps

Instance Method Summary collapse

Methods included from NiTo

cp, echo, echo_a, grep?, mkdir, mount, mount?, rm, search_proc_swaps, sed, sh, swapoff, swapoff_dm, touch, umount

Constructor Details

#initializeDeps

Returns a new instance of Deps.



12
13
14
15
16
17
# File 'lib/getch/filesystem/zfs/minimal/deps.rb', line 12

def initialize
  @mountpoint = OPTIONS[:mountpoint]
  @zfs = OPTIONS[:zfs_name] ||= 'pool'
  @os = OPTIONS[:os]
  x
end