struct Novika::Resolver::ToAskDo

Overview

If signal receivers want to ask a question, gives them a Proc which will do that and return a string answer, or nil if the user discarded the question.

Defined in:

novika/resolver.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Novika::Resolver::Signal

initialize initialize

Constructor methods inherited from struct Novika::Resolver::Signal

new new

Constructor Detail

def self.new(fn : Fn) #

Instance Method Detail

def clone #

def copy_with(fn _fn = @fn) #

def fn : Fn #