12 lines
279 B
Ruby
12 lines
279 B
Ruby
module Kide
|
|
module Kernel
|
|
def self.putstring context
|
|
function = Virtual::MethodDefinition.new(:putstring , [] )
|
|
return function
|
|
ret = Virtual::RegisterMachine.instance.write_stdout(function)
|
|
function.set_return ret
|
|
function
|
|
end
|
|
end
|
|
end
|