Class: Command::Fdisk
- Inherits:
-
Object
- Object
- Command::Fdisk
- Defined in:
- lib/diskman/commands/fdisk.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
3 4 5 6 7 |
# File 'lib/diskman/commands/fdisk.rb', line 3 def run root_device = RootDevice.choose cmd = root_device.get_fdisk_command System.exec! cmd, safe: false end |