mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-14 09:46:53 -04:00
Corrected EEPROM docstring. Closes #1553.
This commit is contained in:
parent
fc750e153e
commit
ee255c90ff
@ -59,7 +59,7 @@ class EEPROM extends prefab.ManagedEnvironment {
|
||||
result(label)
|
||||
}
|
||||
|
||||
@Callback(direct = true, doc = """function():string -- Get the storage capacity of this EEPROM.""")
|
||||
@Callback(direct = true, doc = """function():number -- Get the storage capacity of this EEPROM.""")
|
||||
def getSize(context: Context, args: Arguments): Array[AnyRef] = result(Settings.get.eepromSize)
|
||||
|
||||
@Callback(direct = true, doc = """function():string -- Get the checksum of the data on this EEPROM.""")
|
||||
@ -74,7 +74,7 @@ class EEPROM extends prefab.ManagedEnvironment {
|
||||
else result(Unit, "incorrect checksum")
|
||||
}
|
||||
|
||||
@Callback(direct = true, doc = """function():string -- Get the storage capacity of this EEPROM.""")
|
||||
@Callback(direct = true, doc = """function():number -- Get the storage capacity of this EEPROM.""")
|
||||
def getDataSize(context: Context, args: Arguments): Array[AnyRef] = result(Settings.get.eepromDataSize)
|
||||
|
||||
@Callback(direct = true, doc = """function():string -- Get the currently stored byte array.""")
|
||||
|
Loading…
x
Reference in New Issue
Block a user