rubyx/lib/kernel/string.rb
2014-07-12 21:59:17 +03:00

12 lines
272 B
Ruby

module Crystal
module Kernel
def self.putstring context
function = Virtual::Method.new(:putstring , [] )
return function
ret = Virtual::RegisterMachine.instance.write_stdout(function)
function.set_return ret
function
end
end
end