tweaks
This commit is contained in:
parent
e7fdf59618
commit
9ccc512533
4 changed files with 86 additions and 8 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue