disk.eject

From ComputerCraft
Jump to: navigation, search

disk.eject
Function
Syntax
disk.eject()
Returns nil
API disk
Source CC:Tweaked (source)

Ejects the disk in the disk drive at drive. This will eject the disk item itself out of the drive and back into the world.

A disk being ejected from a disk drive.
ExampleExampleEject a disk
Ejects a disk from the drive to the left of the computer.
Code
disk.eject("left")