diff options
| author | Chris Zimmerman <chris@chriszimmerman.net> | 2019-10-01 16:45:47 -0400 | 
|---|---|---|
| committer | Chris Zimmerman <chris@chriszimmerman.net> | 2019-10-01 16:45:47 -0400 | 
| commit | d0d0fe4995d5be0bc7d1bc749c959468dec2f35c (patch) | |
| tree | 92a3430521a98f3e619607e3f6e5aab9576a0fc6 /ruby.html.markdown | |
| parent | dff76c7965af30e7c7a752513a9ab93a15eb58bc (diff) | |
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 d77672ab..b36d1526 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 | 
