Issue #13518 has been updated by tscheingeld (Terry Scheingeld).


nobu (Nobuyoshi Nakada) wrote:
> How about that matching indentation of `=begin` and `=end`?
> 
> ```ruby
>   =begin
>     in a comment
>     =end
>     still in a comment
>   =end
> # end of the comment
> ```

Makes sense to me.


----------------------------------------
Feature #13518: Indented multiline comments
https://bugs.ruby-lang.org/issues/13518#change-65353

* Author: tscheingeld (Terry Scheingeld)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
I'd like to submit the idea that multiline comments could be indented. That is, `=begin` and `=end` do not have to start at column zero. That would allow for more flexibility in documenting and commenting code.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>