mrubyedge 2.1.2

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
##
# MRUBY_REVISION

assert('MRUBY_REVISION') do
  assert_kind_of(String, MRUBY_REVISION)
  # What the build was made from is not a thing a program gets to edit.
  assert_true(MRUBY_REVISION.frozen?)
  # A build with no revision to read says "HEAD"; one that read a revision
  # says the whole commit hash, and nothing else belongs there.
  skip 'built without a revision' if MRUBY_REVISION == 'HEAD'
  assert_equal(40, MRUBY_REVISION.size)
  i = 0
  while i < MRUBY_REVISION.size
    assert_include('0123456789abcdef', MRUBY_REVISION[i])
    i += 1
  end
end