mruby3-sys 3.2.0

Rust bindings for mruby 3.x Ruby language implementation
Documentation
1
2
3
4
5
6
7
8
9
10
module Kernel
  def singleton_method(name)
    m = method(name)
    sc = (class <<self; self; end)
    if m.owner != sc
      raise NameError, "undefined method '#{name}' for class '#{sc}'"
    end
    m
  end
end