From 5ef9f7a8213c5963cea8b0b0d731884a60d0c166 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 3 Mar 2022 13:05:57 +0900 Subject: [PATCH] [DOC] Rename doc/*.rb as doc/*.rdoc With `:markup: ruby` directive so that they are parsed as ruby scripts. --- doc/{string.rb => string.rdoc} | 2 ++ doc/{transcode.rb => transcode.rdoc} | 2 ++ 2 files changed, 4 insertions(+) rename doc/{string.rb => string.rdoc} (99%) rename doc/{transcode.rb => transcode.rdoc} (99%) diff --git a/doc/string.rb b/doc/string.rdoc similarity index 99% rename from doc/string.rb rename to 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 similarity index 99% rename from doc/transcode.rb rename to 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