mrubyedge 1.1.12

mruby/edge is yet another mruby that is specialized for running on WASM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
def do_time_block
  result = 0
  ->(i) {
    result += 100
    3.times do |j|
      result += 200
      puts "result = #{result}"
    end
    puts "result = #{result}"
  }
end

def do_times
  3.times(&do_time_block)
end

do_times