diff options
author | Divay Prakash <divayprakash@users.noreply.github.com> | 2020-01-11 14:02:10 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-11 14:02:10 +0530 |
commit | b9faf4c25832a9bc0cd3afb81c15c0bbc2d9faea (patch) | |
tree | 7e7bef923a6662b747309a2cedf3d1a357cbd379 /ruby.html.markdown | |
parent | b59efe4c0b33680c5af4f659094251111603b456 (diff) | |
parent | d0d0fe4995d5be0bc7d1bc749c959468dec2f35c (diff) |
Merge pull request #3664 from chriszimmerman/en-ruby-multiline-comments
[en/ruby] - Adds documentation for multiline comments
Diffstat (limited to 'ruby.html.markdown')
-rw-r--r-- | ruby.html.markdown | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ruby.html.markdown b/ruby.html.markdown index f437adcf..3fc2ed2d 100644 --- a/ruby.html.markdown +++ b/ruby.html.markdown @@ -23,6 +23,15 @@ contributors: ```ruby # This is a comment +=begin +This is a multi-line comment. +The beginning line must start with "=begin" +and the ending line must start with "=end". + +You can do this, or start each line in +a multi-line comment with the # character. +=end + # In Ruby, (almost) everything is an object. # This includes numbers... 3.class #=> Integer |