From 7cebcd7b6e5cd0dad590941838b2161b14d83b37 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Sun, 13 Oct 2024 09:29:55 +0300 Subject: [PATCH] docs --- lib/fbe/if_absent.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fbe/if_absent.rb b/lib/fbe/if_absent.rb index 582a70c..9f5583a 100644 --- a/lib/fbe/if_absent.rb +++ b/lib/fbe/if_absent.rb @@ -47,6 +47,7 @@ # time of its first creation. # # @param [Factbase] fb The global factbase +# @yields [Factbase::Fact] The fact just created # @return [nil|Factbase::Fact] Either +nil+ if it's already there or a new fact def Fbe.if_absent(fb: Fbe.fb) attrs = {}