An introduction to the basic concepts of programming with Ruby. Information, exercises and code all related to learning Ruby.
The presentations are powered by Rabbit.
The normal code samples and examples are meant to be used with Hackety Hack.
The vanila code samples and examples are meant to be used with IRB or Ruby run from the terminal.
- Data types like Strings, Numbers and Floats
- Math with numbers
- String manipulation
- Variables
- User input
- Boolean
- Loops
- Shoes
- Ruby from the command line
- IRB
- Shoes
- Camping
- Sinatra
- Introduction to Ruby (01_introduction_to_ruby.rd)
- Introduction to Hackety Hack (02_introduction_to_hackety_hack.rd)
- Basic Data Types (03_basic_data_types.rd)
- Variables (04_variables.rd)
- User Input Exercises (05_user_input_exercises.rd)
- Drawing with Turtle (06_drawing_with_turtle.rd)
- Logic (07_logic.rd)
- Loops (08_loops.rd)
- Into the Terminal (09_into_the_terminal.rd)
- Drawing with Shoes (10_drawing_with_shoes.rd)
- GUIs with Shoes (11_guis_with_shoes.rd)
- Arrays (12_arrays.rd)
- Methods (13_methods.rd)
- Hashes
- Singing with Sinatra
Extra Credit:
- _why the lucky stiff (ex_why_the_lucky_stiff.rd)
- Thanks Alex Chaffee for the awesome Learn to Code content.
- Thanks Steve Klabnik for doing a lot of awesome things regarding Ruby, Hackety Hack, Shoes, etc.
- Thanks Pete Brown for helping me with the content and feedback on the slides.
- Select all of the code
- Copy the text from Hackety Hack
- Paste into Text Wrangler
- File > Save > No Name (Your Flash Drive!)
- Name the file file_name.rb
- Add code samples in the directory of each lesson, hooray!
- Export presentations as PDFs and upload them to Speaker Deck
- Create text versions (like a book) of the presentations
- Create IRB ex lesson