Ruby 2.4.0 リファレンスマニュアル > ライブラリ一覧 > rdoc/textライブラリ > RDoc::Textモジュール > strip_hashes

instance method RDoc::Text#strip_hashes

strip_hashes(text) -> String[permalink][rdoc]

引数から各行の行頭の # を削除します。

[PARAM] text:
文字列を指定します。