IO is the base for all input/output in Ioke.

Mimics
Inactive cells
Active cells
Specs
Inactive cells (details)
kind = "IO"
Active cells (details)
print(object)

Prints a text representation of the argument to the current IO object

IO print
  • - should validate type of receiver [ show source ]
    IO should checkReceiverTypeOn(:print, "foo") 
    
    
println(object nil)

Prints a text representation of the argument and a newline to the current IO object

IO println
  • - should validate type of receiver [ show source ]
    IO should checkReceiverTypeOn(:println, "foo") 
    
    
read()

tries to read as much as possible and return a message chain representing what's been read

IO read
  • - should validate type of receiver [ show source ]
    IO should checkReceiverTypeOn(:read)