class MrbState

Overview

Wrapper for an mruby state reference

Defined in:

MrbState.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.create(&) #

[View source]

Instance Method Detail

def close #

[View source]
def define_class_method(name : String, c : MrbClass | MrbModule, proc : MrbFunc) #

[View source]
def define_method(name : String, c : MrbClass | MrbModule, proc : MrbFunc) #

TODO Use internal mruby arg count in future versions


[View source]
def define_module_function(name : String, mod : MrbModule | MrbClass, proc : MrbFunc) #

[View source]
def execute_script_line(str : String) #

[View source]
def load_script_from_file(filename : String) #

[View source]
def to_unsafe #

[View source]