Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BEGIN {
- puts "Ruby Init.."
- }
- END {
- puts "Ruby End..."
- }
- test = <<EOF
- Hello there, this is a multiline string variable in ruby!
- So far, I am absolutely LOVING the ruby language :D!
- It's Cool!
- EOF
- puts test
- =begin
- Output of this program is:
- Ruby init..
- Hello there, this is a multiline string variable in ruby!
- So far, I am absolutely LOVING the ruby language :D!
- It's Cool!
- Ruby End...
- =end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement