struct Lever::Off::Callback

Overview

Holds the callback information

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, once : Bool = false, &block : CallbackProc) #

Instance Method Detail

def call(me) #

Calls our proc with the arguments


def name : String #

name of the proc


def once? : Bool #

TODO Use this Should we only run this once?


def proc : CallbackProc #

THe proc itself