From 8401296c46a2c21b0783a2e74e78dd74d12e81d5 Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 19 May 2022 23:55:07 +0900 Subject: [PATCH] Regular updates --- mysql.md | 2 +- rdoc.md | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/mysql.md b/mysql.md index e61c219..e3d1d32 100644 --- a/mysql.md +++ b/mysql.md @@ -73,7 +73,7 @@ mysqldump -u Username -p dbNameYouWant > databasename_backup.sql ### Restore from backup SQL File ```bash -mysql - u Username -p dbNameYouWant < databasename_backup.sql; +mysql -u Username -p dbNameYouWant < databasename_backup.sql; ``` ### Repair Tables After Unclean Shutdown diff --git a/rdoc.md b/rdoc.md index da646a3..4caadf8 100644 --- a/rdoc.md +++ b/rdoc.md @@ -28,7 +28,7 @@ layout: 2017/sheet # @option opts [String] :subject The subject # @option opts [String] :from ('nobody') From address # @option opts [String] :to Recipient email -# @option opts [String] :body ('') The email's body +# @option opts [String] :body ('') The email's body ``` ### Parameter types @@ -46,6 +46,12 @@ layout: 2017/sheet # :format => :dot ``` +### Exceptions +```rb +# @raise [AccountBalanceError] if the account does not have +# sufficient funds to perform the transaction +``` + ### Inline ```markdown @@ -55,6 +61,12 @@ _emphasized_ ``` ```markdown +{ObjectName#method optional title} +{Class::CONSTANT My constant's title} +{#method_inside_current_namespace} +``` + +```markdown https://www.example.com/ See Models::User@Examples {Google}[https://google.com/] @@ -135,4 +147,5 @@ Place this at the beginning of the file. * * +* {: .-also-see} -- 2.11.0