transformations according to todays post
This commit is contained in:
10
lib/kernel/string.rb
Normal file
10
lib/kernel/string.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
Reference in New Issue
Block a user