Description
In this course, you will :
Hands-on practise using a variety of interactive illustrations, exercises, and the essential topics of variables, built-in classes, objects, conditionals, blocks, and much more!
Syllabus :
1. Why should you learn Ruby?
- Programming is Creation
2. Variables
- What are Variables?
- Reusing Variable Names
- Things on the Right go First
- Types of Variables and their Usage
3. Built-in Classes: Numbers
- Working with Numbers
- Playing with Numbers
- Guess the Type?
- Finding Modulo
- Even or Odd?
4. Built-in Classes: Strings
- Working with Strings
- Concatenate Substrings
- Padding & Justifying
- Guess the Output?
- Convert String to Integer
- Prepend a String
- Remove Characters from String
5. Built-In Classes: Booleans
- True, False and Nil
6. Built-In Classes: Symbols
- Symbols
7. Built-In Classes: Arrays
- Working with Arrays
- Things you can do with Arrays!
- Guess the index?
- Return the index of the Element
- Find the length of the array
- Replace an element in the array
- Extract even elements from array
- Combine elements of an array
- Reverse the Array
- Even Reversed
- Delete an Element
8. Built-In Classes: Hashes
- Working with Hashes
- Things you can do with Hashes!
- Hash Syntax Confusion (optional)
- Guess the Answers!
- Flip the keys & values!
- Playing with words
- Combine the words with its language
- Aligning the table columns
- Add delimiters to the table
9. Objects
- Object Oriented Programming
- Objects, Classes and Methods
- Classes
- Instances
- Methods
- Calling
- Passing Arguments
- Listing Methods
- Predicates
- Bangs
10. Writing Methods
- Methods
- Constituents
- Definition
- Usage
- Return Values
- Scopes
- Combining Methods
- Printing Things
- Flow of Execution (optional)
- Greet the person!
- Greet randomly!
- Convert Miles to Kilometers
- Check Leap Year
11. Writing Classes
- Getting Started with Classes!
- Defining Classes
- Defining Instance Methods
- Initializing Objects
- Instance Variables
- Attribute Readers
- Attribute Writers
- State and Behaviour
- Interacting Objects
- Object Scope and Self
12. Blocks
- What are Blocks?
- Alternative Block Syntaxes
- Block Arguments
- Block Return Values
- Inversion of Control
- Iterators
13. Conditionals
- What are Conditionals?
- Shorthand Syntax
- Conditionals Return Values
- Nothingness and the Truth
14. Operators
- Arithmetical Operators
- Logical Operators
- Comparison Operators
- Operators are Methods
15. Gear up for some Icing on the Cake!
- String Interpolation
- Top-level Object
- Lots of Other Methods
- Questions and Commands
- Alternative Syntax
- Using the Right Words
- Writing a new Method
- Terminology: Arguments vs Parameters
- Arguments and Parentheses
16. Advanced Topics
- Using Libraries
- Modules
- Private Methods
- Regular Expressions
- More on Character Classes (Regex)
17. Ready for a Long Haul?
- The Email Class
- The Mailbox Class
- The Mailbox Text Formatter
- The Mailbox Html Formatter
- Storing our HTML to a File
- Reading from a CSV File
18. Your Collateral Apparatus!
- Text Editor
- Ruby Runtime
- Terminal
- Interactive Ruby
- Programming Workflow