diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-03-03 13:05:57 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-03-03 13:37:37 +0900 |
commit | 5ef9f7a8213c5963cea8b0b0d731884a60d0c166 (patch) | |
tree | f64600772b93d098be2c19be82890b9d0b8409a9 | |
parent | cdb620621fbfa7b822de9a1628450c5e137fe45c (diff) |
[DOC] Rename doc/*.rb as doc/*.rdoc
With `:markup: ruby` directive so that they are parsed as ruby
scripts.
-rw-r--r-- | doc/string.rdoc (renamed from doc/string.rb) | 2 | ||||
-rw-r--r-- | doc/transcode.rdoc (renamed from doc/transcode.rb) | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/string.rb b/doc/string.rdoc index 65bfa39272..c9fa0607f3 100644 --- a/doc/string.rb +++ b/doc/string.rdoc @@ -1,3 +1,5 @@ +# :markup: ruby + class String # call-seq: # String.new(string = '') -> new_string diff --git a/doc/transcode.rb b/doc/transcode.rdoc index 5a7c57719f..29787fe907 100644 --- a/doc/transcode.rb +++ b/doc/transcode.rdoc @@ -1,3 +1,5 @@ +# :markup: ruby + class String # call-seq: # encode(dst_encoding = Encoding.default_internal, **enc_opts) -> string |