OSDN Git Service

Regular updates
[twpd/master.git] / rdoc.md
diff --git a/rdoc.md b/rdoc.md
index da646a3..4caadf8 100644 (file)
--- 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.
 
 * <https://docs.ruby-lang.org/en/2.1.0/RDoc/Markup.html>
 * <https://www.rubydoc.info/gems/yard/file/docs/GettingStarted.md>
+* <https://rubydoc.info/gems/yard/file/docs/Tags.md>
 {: .-also-see}