Module: Kernel
Instance Method Summary collapse
Instance Method Details
#print(stg) ⇒ Object
69 70 71 72 73 |
# File 'lib/rlang/lib/io.rb', line 69 def print(stg) arg stg: :String result :none STDOUT.print(stg) end |
#puts(stg) ⇒ Object
63 64 65 66 67 |
# File 'lib/rlang/lib/io.rb', line 63 def puts(stg) arg stg: :String result :none STDOUT.puts(stg) end |
#raise(msg) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/rlang/lib/kernel.rb', line 15 def raise(msg) arg msg: :String result :none #$! = msg #STDERR.puts msg inline wat: '(unreachable)', wtype: :none end |