en/ruby - Adds documentation for multiline comments

This commit is contained in:
Chris Zimmerman 2019-10-01 16:45:47 -04:00
parent dff76c7965
commit d0d0fe4995

View File

@ -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