[#81492] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — normalperson@...

Issue #13618 has been reported by normalperson (Eric Wong).

12 messages 2017/06/01

[ruby-core:81656] [Ruby trunk Feature#13518] Indented multiline comments

From: tscheingeld32@...
Date: 2017-06-13 02:22:41 UTC
List: ruby-core #81656
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>

In This Thread

Prev Next