1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00
Files
til/ruby/block-comments.md
2016-01-15 16:02:08 -06:00

17 lines
267 B
Markdown

# Block Comments
Ruby supports (ugly) block comments. They look like this:
```ruby
=begin
This is a block comment.
I can put whatever I want in here.
=end
def do_something
...
end
```
[source](http://stackoverflow.com/questions/536760/block-commenting-in-ruby)