module Lua::StackMixin::Util

Direct including types

Defined in:

lua/stack/util.cr

Instance Method Summary

Instance Method Detail

def get_global(name : String) #

gets a value of the global with the name


[View source]
def getinfo(what) #

Gets information about a specific function or function invocation.


[View source]
def set_global(name : String, value) #

assign a value to a lua global variable with the name to value


[View source]
def version #

Returns the lua version number stored in the Lua core.

state.version # => 503.0

[View source]