struct Wren::Method

Defined in:

wren/class.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, args : String, foreign : Bool, klass : String, static : Bool, construct : Bool, sig : String, mod : String = "main", block : Proc(Pointer(LibWren::Vm), Nil) | Nil = nil, native_code : String | Nil = nil) #

[View source]

Instance Method Detail

def args : String #

def block : Proc(Pointer(LibWren::Vm), Nil) | Nil #

def clone #

[View source]
def construct : Bool #

def copy_with(name _name = @name, args _args = @args, foreign _foreign = @foreign, klass _klass = @klass, static _static = @static, construct _construct = @construct, sig _sig = @sig, mod _mod = @mod, block _block = @block, native_code _native_code = @native_code) #

[View source]
def foreign : Bool #

def klass : String #

def mod : String #

def name : String #

def native_code : String | Nil #

def sig : String #

def static : Bool #