Ruby Basics Lessons #112
Description
@KevinMulhern is responsible for coordinating the creation of these lessons, but he needs your help.
For each lesson, reply to this issue with:
-
An Introduction for the lesson
A brief summary about what the lesson is about and why the topics or concepts it teaches are important. -
Learning Outcomes
A list of bullet points of what the student is expected to know or be able to do by the end of this lesson -
Content for the lesson
Explanations of the main concepts in the lesson, include code snippets and easy to understand metaphors where applicable. -
Assignment
Either a list of links to resources the user will go through to learn about the topic of this lesson more in depth. Have no more than 5 resources, ideally no more than three. Or an exercise the student should do to solidify their understanding of the lesson content. -
Additional Resources
A list of links to other resources which are valuable and or complement the assignment resources. Link to no more than three additional resources to avoid this section becoming too cluttered.
List of lessons:
- Ruby's Primitive Data Types - Strings, numbers and symbols
- Variables - What are variables and how to use them. Explain pass by reference.
- Input and Output - Puts, print and getting input from a user
- Conditional Logic - If and case statements. Boolean logic
- Loops - All the different loops in Ruby (Except enumerables)
- Arrays - All about arrays
- Hashes - All about hashes
- Basic Enumerables - What enumerables are, teach each, map, select
- Methods - How to write your own methods
- Problem Solving - Approaches to problem solving
- Debugging - Some techniques for debugging, using puts, reading the stack trace etc.