Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MRubyRunner ¶
type MRubyRunner struct {
// contains filtered or unexported fields
}
MRubyRunner embeds the mruby executable and manages script execution.
func NewMRubyRunner ¶
func NewMRubyRunner() (*MRubyRunner, error)
NewMRubyRunner initializes MRubyRunner from the embedded binary.
func (*MRubyRunner) Cleanup ¶
func (mr *MRubyRunner) Cleanup() error
Cleanup removes temporary files.
func (*MRubyRunner) Run ¶
func (mr *MRubyRunner) Run(script string, envVars map[string]string) (runner.ScriptResult, error)
Run executes an mRuby script and returns the result.
Click to show internal directories.
Click to hide internal directories.