Skip to content
Discussion options

You must be logged in to vote

Probably you can use mruby-binding gem (#5362, #5491).

b = binding
b.eval "a=12"
b.eval "p a"     # => 12

Don't forget to include mruby-binding gem when build.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sasq64
Comment options

@sasq64
Comment options

Answer selected by matz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants