[ruby/time] [DOC] RDoc does not use backticks
https://github.com/ruby/time/commit/aefa245a20
This commit is contained in:
parent
5f3e9f185d
commit
db352a5127
@ -280,7 +280,7 @@ class Time
|
|||||||
#
|
#
|
||||||
# This method **does not** function as a validator. If the input
|
# This method **does not** function as a validator. If the input
|
||||||
# string does not match valid formats strictly, you may get a
|
# 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.
|
# of this method as possible.
|
||||||
#
|
#
|
||||||
# require 'time'
|
# require 'time'
|
||||||
@ -391,7 +391,7 @@ class Time
|
|||||||
# heuristic to detect the format of the input string, you provide
|
# heuristic to detect the format of the input string, you provide
|
||||||
# a second argument that describes the format of the string.
|
# 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
|
# If a block is given, the year described in +date+ is converted by the
|
||||||
# block. For example:
|
# block. For example:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user