utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertType

func AssertType(attr string, v *mruby.MrbValue, vtype mruby.ValueType)

func Execute

func Execute(str string) bool

func Run

func Run(str string)

Types

type AttributeParser

type AttributeParser struct {
	// contains filtered or unexported fields
}

func NewAttributeParser

func NewAttributeParser(mrb *mruby.Mrb) *AttributeParser

func (*AttributeParser) GetArray

func (a *AttributeParser) GetArray(name string) []string

func (*AttributeParser) GetString

func (a *AttributeParser) GetString(name string) string

func (*AttributeParser) Parse

func (a *AttributeParser) Parse(block *mruby.MrbValue)

func (*AttributeParser) SetDefaultString

func (a *AttributeParser) SetDefaultString(name string, str string)

Jump to

Keyboard shortcuts

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