class AASM::Event

Defined in:

aasm/event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(transition : Transition | Nil = nil) #

[View source]

Instance Method Detail

def after : -> Nil? #

[View source]
def after(&block) #

[View source]
def before : -> Nil? #

[View source]
def before(&block) #

[View source]
def transition #

[View source]
def transition? : AASM::Transition? #

[View source]
def transitions(from : Symbol | Array(Symbol) = nil, to : Symbol = nil) #

[View source]