mrubyrunner

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL