This commit is contained in:
Nathan McCarty 2025-02-04 23:43:42 -05:00
parent e7fdf59618
commit 9ccc512533
4 changed files with 86 additions and 8 deletions

View file

@ -58,3 +58,9 @@ method render-html(--> Str:D) {...}
method description(--> Str) {
Nil
}
#| Estimated readtimes at 140/180/220 wpm
method readtimes() {
my $word-count = $!source.slurp.words.elems;
($word-count / 140, $word-count / 180, $word-count / 220).map(*.ceiling)
}