struct Wren::Method
- Wren::Method
- Struct
- Value
- Object
Defined in:
wren/class.crConstructors
Instance Method Summary
- #args : String
- #block : Proc(Pointer(LibWren::Vm), Nil) | Nil
- #clone
- #construct : Bool
- #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)
- #foreign : Bool
- #klass : String
- #mod : String
- #name : String
- #native_code : String | Nil
- #sig : String
- #static : Bool
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)
#
Instance Method Detail
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)
#