From db352a51270af66ba51c7917c0824b2935b50d5a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 11 Oct 2024 00:02:24 +0900 Subject: [PATCH] [ruby/time] [DOC] RDoc does not use backticks https://github.com/ruby/time/commit/aefa245a20 --- lib/time.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/time.rb b/lib/time.rb index 10f75b1dda..c7026f407b 100644 --- a/lib/time.rb +++ b/lib/time.rb @@ -280,7 +280,7 @@ class Time # # This method **does not** function as a validator. If the input # string does not match valid formats strictly, you may get a - # cryptic result. Should consider to use `Time.strptime` instead + # cryptic result. Should consider to use Time.strptime instead # of this method as possible. # # require 'time' @@ -391,7 +391,7 @@ class Time # heuristic to detect the format of the input string, you provide # a second argument that describes the format of the string. # - # Raises `ArgumentError` if the date or format is invalid. + # Raises ArgumentError if the date or format is invalid. # # If a block is given, the year described in +date+ is converted by the # block. For example: