NAME
mRuby - mruby binding for perl5.
SYNOPSIS
use mRuby;
my $mruby = mRuby->new(src => '9');
my $ret = $mruby->run();
DESCRIPTION
mRuby is mruby binding for perl5.
METHODS
my $mruby = mRuby->new(src => $src : Str) : mRuby
-
Parse
src
and generatemRuby
object. my $mruby = mRuby->new(file => $file : Str) : mRuby
-
Parse source from
file
and generatemRuby
object. my $ret = $mruby->run() : Any
-
Run mruby code and get a return value.
my $ret = $mruby->funcall($funcname : Str, ...) : Any
-
Call specified named mruby function from
toplevel
context and get a return value.
AUTHOR
Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>
karupanerura <karupa@cpan.org>
LOW LEVEL API
See mRuby::State
SEE ALSO
LICENSE
Copyright (C) Tokuhiro Matsuno
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.