function comments ruby code example Example: how to comment in ruby # How to comment a single line =begin How to comment Multiple lines =end