Learn Ruby 2011     Session 1
Our SponsorsFlatsourcing, iSeatz, Koda, and Launchpad
WelcomeReady to learn Ruby?
Why Are We Here? More to the point, why are you here?
Why Learn Ruby? Other than the obvious street cred
Features
Features• REALLY Object-Oriented
Features• REALLY Object-Oriented• Clean & Readable Syntax
Features• REALLY Object-Oriented• Clean & Readable Syntax• “Funner” To Program
Features• REALLY Object-Oriented• Clean & Readable Syntax• “Funner” To Program• Ruby on Rails
So, Why Ruby & You? Really, why do you want to learn Ruby?
Installing Ruby  Windows, Linux or Mac
The Ruby Toolbox
rubyThe actual interpreter
riRuby Interactive Documentation
rdocRuby Documentation Generator
irbInteractive Ruby Environment
Ruby GemsRuby Package Management
Playing Around  This is what IRB is for
$ irb
$ irb> puts “Hello, World!”
$ irb> puts “Hello, World!”Hello, World!=> nil
> “Hello, World!”.class
> “Hello, World!”.class=> String
> 2.class
> 2.class=> Fixnum
> Fixnum.class
> Fixnum.class=> Class
> nil.class
> nil.class=> NilClass
> 5.times { puts “Hello!” }
> 5.times { puts “Hello!” }Hello!Hello!Hello!Hello!Hello!=> 5
Resources
Resources• rubydoc.info
Resources• rubydoc.info• rubygems.org
Resources• rubydoc.info• rubygems.org• ruby-toolbox.com
For Next Week
For Next Week• Play around in IRB
For Next Week• Play around in IRB• Explore rubydoc.info, especially the Stdlib  section
Learn Ruby 2011 - Session 1
Learn Ruby 2011 - Session 1
Learn Ruby 2011 - Session 1
Learn Ruby 2011 - Session 1
Learn Ruby 2011 - Session 1
Learn Ruby 2011 - Session 1
Learn Ruby 2011 - Session 1
Learn Ruby 2011 - Session 1
Learn Ruby 2011 - Session 1
Upcoming SlideShare
Loading in...5
×

Learn Ruby 2011 - Session 1

928

Published on

This first session we covered getting up and running with Ruby on Linux, OS X and Windows.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
928
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Learn Ruby 2011 - Session 1

    1. 1. Learn Ruby 2011 Session 1
    2. 2. Our SponsorsFlatsourcing, iSeatz, Koda, and Launchpad
    3. 3. WelcomeReady to learn Ruby?
    4. 4. Why Are We Here? More to the point, why are you here?
    5. 5. Why Learn Ruby? Other than the obvious street cred
    6. 6. Features
    7. 7. Features• REALLY Object-Oriented
    8. 8. Features• REALLY Object-Oriented• Clean & Readable Syntax
    9. 9. Features• REALLY Object-Oriented• Clean & Readable Syntax• “Funner” To Program
    10. 10. Features• REALLY Object-Oriented• Clean & Readable Syntax• “Funner” To Program• Ruby on Rails
    11. 11. So, Why Ruby & You? Really, why do you want to learn Ruby?
    12. 12. Installing Ruby Windows, Linux or Mac
    13. 13. The Ruby Toolbox
    14. 14. rubyThe actual interpreter
    15. 15. riRuby Interactive Documentation
    16. 16. rdocRuby Documentation Generator
    17. 17. irbInteractive Ruby Environment
    18. 18. Ruby GemsRuby Package Management
    19. 19. Playing Around This is what IRB is for
    20. 20. $ irb
    21. 21. $ irb> puts “Hello, World!”
    22. 22. $ irb> puts “Hello, World!”Hello, World!=> nil
    23. 23. > “Hello, World!”.class
    24. 24. > “Hello, World!”.class=> String
    25. 25. > 2.class
    26. 26. > 2.class=> Fixnum
    27. 27. > Fixnum.class
    28. 28. > Fixnum.class=> Class
    29. 29. > nil.class
    30. 30. > nil.class=> NilClass
    31. 31. > 5.times { puts “Hello!” }
    32. 32. > 5.times { puts “Hello!” }Hello!Hello!Hello!Hello!Hello!=> 5
    33. 33. Resources
    34. 34. Resources• rubydoc.info
    35. 35. Resources• rubydoc.info• rubygems.org
    36. 36. Resources• rubydoc.info• rubygems.org• ruby-toolbox.com
    37. 37. For Next Week
    38. 38. For Next Week• Play around in IRB
    39. 39. For Next Week• Play around in IRB• Explore rubydoc.info, especially the Stdlib section
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×