rubyx/lib/kernel/string.rb
2014-06-14 00:19:12 +03:00

11 lines
256 B
Ruby

module Crystal
module Kernel
def self.putstring context
function = Vm::Function.new(:putstring , Vm::Integer , [] )
ret = Vm::RegisterMachine.instance.write_stdout(function)
function.set_return ret
function
end
end
end