aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-26 19:18:57 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-26 19:18:57 +0900
commit087a919ea4a6e151aa65209ebbebc9a907079172 (patch)
treed45a23198fbc3d000b2a63ea8eebb933e696b0f3 /doc
parente81c380c0fb3611d5507bfa169b0437a8712ea7c (diff)
downloadruby-087a919ea4a6e151aa65209ebbebc9a907079172.tar.gz
[DOC] Fix markup
RDoc is not markdown.
Diffstat (limited to 'doc')
-rw-r--r--doc/timezones.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/timezones.rdoc b/doc/timezones.rdoc
index d59efba37d..c5af6653f9 100644
--- a/doc/timezones.rdoc
+++ b/doc/timezones.rdoc
@@ -107,7 +107,7 @@ which will be called if defined:
=== Timezone Names
If the class (the receiver of class methods, or the class of the receiver
-of instance methods) has `find_timezone` singleton method, this method is
+of instance methods) has +find_timezone+ singleton method, this method is
called to achieve the corresponding timezone object from a timezone name.
For example, using {Timezone}[https://github.com/panthomakos/timezone]:
@@ -128,4 +128,4 @@ Or, using {TZInfo}[https://tzinfo.github.io]:
TimeWithTZInfo.now(in: "America/New_York") #=> 2023-12-25 00:00:00 -0500
TimeWithTZInfo.new("2023-12-25 America/New_York") #=> 2023-12-25 00:00:00 -0500
-You can define this method per subclasses, or on the toplevel `Time` class.
+You can define this method per subclasses, or on the toplevel Time class.