Top Level Namespace
Defined Under Namespace
Modules: CmdLine, Devs, Dracut, Fstab, Getch, Luks, Lvm2, Mkfs, MountFs, NiTo, Sgdisk Classes: Clean, CryptSetup, InvalidDisk, InvalidFormat, InvalidKeymap, InvalidZone
Instance Method Summary collapse
Instance Method Details
#valid_disk(name) ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/getch/guard.rb', line 15 def valid_disk(name) case name when /^sd|^hd|^vd/ true when /^nvm/ true else false end end |