struct Lune::BindingDef

Defined in:

lune/bindings.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, namespace : String, args : Array(String), return_type : String, callback : Proc(Array(JSON::Any), JSON::Any), internal : Bool = false, async : Bool = false) #

[View source]

Instance Method Detail

def args : Array(String) #

def async : Bool #

def callback : Proc(Array(JSON::Any), JSON::Any) #

def clone #

[View source]
def copy_with(name _name = @name, namespace _namespace = @namespace, args _args = @args, return_type _return_type = @return_type, callback _callback = @callback, internal _internal = @internal, async _async = @async) #

[View source]
def internal : Bool #

def name : String #

def namespace : String #

def return_type : String #