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) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(fn _fn = @fn) #

[View source]
def fn : Fn #