What are escape sequences? It's a thing in Ruby where you have \ in front of 1~3 letters. I'm going to introduce the most common and most important ones here.
==============================================
-Array +Value -
==============================================
-\t + Tab (Tab in MS Word; like a BIG space bar)
-\n + Line Change (print method)
-\b + Backspace
-\s + Space (Like_this)
This is very basic but these are things you'll NEED to (emphasis on NEED) memorize.
LESSON FILE: Mediafire
Sincerely yours, Admin
August 13, 2011
Subscribe to:
Post Comments (Atom)
Copyright © Learn Ruby! Step by Step Guides [EasyRuby]. All rights reserved.
Blogger template created by Templates Block in collaboration with Music Videos
Provided By Free Website Templates | Freethemes4all.com | Free Blogger Templates

No comments:
Post a Comment