mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-09-02 19:22:49 +02:00
Fix typos in raku.html.markdown
This commit is contained in:
committed by
Andrew Ryan Davis
parent
27d32b5e43
commit
711912580b
@@ -1619,8 +1619,8 @@ say "This code took " ~ (time - CHECK time) ~ "s to compile";
|
|||||||
|
|
||||||
# ... or clever organization:
|
# ... or clever organization:
|
||||||
class DB {
|
class DB {
|
||||||
method start-transaction { say "Starting transation!" }
|
method start-transaction { say "Starting transaction!" }
|
||||||
method commit { say "Commiting transaction..." }
|
method commit { say "Committing transaction..." }
|
||||||
method rollback { say "Something went wrong. Rolling back!" }
|
method rollback { say "Something went wrong. Rolling back!" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user