rubyx/lib/kernel/string.rb
2014-07-16 19:24:41 +03:00

12 lines
282 B
Ruby

module Crystal
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