- Introduction
- Addition
- Division
- Expression
- console
2. Objects and Variables
-
Objects are Everywhere
-
Expressions and Evaluations
-
Variables
-
Assignment
-
expression
-
expression evaluation
-
expression
-
expression
-
Introducing Jack's account
-
Introducing Jill's account
-
class
-
class
-
class
-
Objects
3. Objects
-
Object
-
Objects and variables
-
Object
-
Object
-
Objects and variables
-
Objects and variables
-
Objects and Methods
-
Object and Methods
-
Objects
-
Objects and Variables
-
Inspect Method
-
Method
4. Method Calls
-
Function
-
Method
-
Method
-
Method
-
Method
-
Method
-
Method
-
Method
-
Combining Variables, Objects and State
-
Methods
-
Methods
-
Methods
-
Methods
5. Method Definition
-
Method Definition
-
Add 2 numbers
-
Method calling
-
Method call
-
Method substraction
-
Method with parameters
-
Method call
-
Method Square
-
Square a number
-
Checking balance
-
instance variable
-
Increment the balance
-
Method withdraw
-
add interest
6. Introducing Strings
-
Declaring a string
-
Available methods on a String object
-
Adding two strings
-
Adding Strings using + operator
-
To String method
-
More string concatenation
-
String interpolation
-
Avoiding string interpolation
-
String interpolation and string methods
-
More string methods
-
Palindromes and reversing a string.
-
Changing state and the exclamation mark (!) convention.
7. Conditionals
-
Comparison operators
-
Uses of comparison operators
-
Introducing if statement
-
Implementing the if statement
-
Introducing else
-
Introducing elsif
-
Problem on if, elsif and else
-
Introducing && operator
-
Introducing || operator
8. Collections
-
Creating an Array
-
Length of an Array
-
Accessing elements in an Array
-
Introducing negative index
-
Changing contents of an Array
-
What can Arrays contain?
-
Accessing indexes greater than the length of an array
-
Assigning numbers continued
-
Creating an accounts array
-
Calling methods on object references in an Array
-
The max method
-
The max method
-
The insert method
9. Blocks
-
Introducing Blocks
-
Arrays each method
-
Problem on blocks
10. Classes
-
Create a class
-
Constant Variables
-
Finding class of an object
-
Methods on a Class
-
Comparing instances of a Class
-
Finding instance methods of a class
-
Defining our own instance method
-
Defining a Class
-
Adding an instance method to a class
-
Introducing initialize method
-
Creating an instance of BankAccount
-
Defining an instance method
-
Alternate way of creating state for an object
-
Introducing attribute_accessor methods.
-
Exercise on attribute accessor
11. More on Classes
-
Creating an instance of BankAccount
-
Implementing the withdraw! method
-
Introducing self
-
More on self.
-
Transfer state between objects.
-
How does ruby execute class body?
-
self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
Good job, keep going!
Lesson Completed
Lesson Unlocked
You need to complete 0 to earn your Beginner Ruby Badge!
Continue
Well done. You did great!
You achieved Ruby For Beginners V2 badge!
Now that you have completed this course, try doing this project
Bank Teller
You’ve got cash! In this project you will write the code to get your ATM machine to work. You will be able to withdraw, deposit...
Good Job! You have 0 to go.
- Objects are Everywhere
- Expressions and Evaluations
- Variables
- Assignment
- expression
- expression evaluation
- expression
- expression
- Introducing Jack's account
- Introducing Jill's account
- class
- class
- class
- Objects
3. Objects
-
Object
-
Objects and variables
-
Object
-
Object
-
Objects and variables
-
Objects and variables
-
Objects and Methods
-
Object and Methods
-
Objects
-
Objects and Variables
-
Inspect Method
-
Method
4. Method Calls
-
Function
-
Method
-
Method
-
Method
-
Method
-
Method
-
Method
-
Method
-
Combining Variables, Objects and State
-
Methods
-
Methods
-
Methods
-
Methods
5. Method Definition
-
Method Definition
-
Add 2 numbers
-
Method calling
-
Method call
-
Method substraction
-
Method with parameters
-
Method call
-
Method Square
-
Square a number
-
Checking balance
-
instance variable
-
Increment the balance
-
Method withdraw
-
add interest
6. Introducing Strings
-
Declaring a string
-
Available methods on a String object
-
Adding two strings
-
Adding Strings using + operator
-
To String method
-
More string concatenation
-
String interpolation
-
Avoiding string interpolation
-
String interpolation and string methods
-
More string methods
-
Palindromes and reversing a string.
-
Changing state and the exclamation mark (!) convention.
7. Conditionals
-
Comparison operators
-
Uses of comparison operators
-
Introducing if statement
-
Implementing the if statement
-
Introducing else
-
Introducing elsif
-
Problem on if, elsif and else
-
Introducing && operator
-
Introducing || operator
8. Collections
-
Creating an Array
-
Length of an Array
-
Accessing elements in an Array
-
Introducing negative index
-
Changing contents of an Array
-
What can Arrays contain?
-
Accessing indexes greater than the length of an array
-
Assigning numbers continued
-
Creating an accounts array
-
Calling methods on object references in an Array
-
The max method
-
The max method
-
The insert method
9. Blocks
-
Introducing Blocks
-
Arrays each method
-
Problem on blocks
10. Classes
-
Create a class
-
Constant Variables
-
Finding class of an object
-
Methods on a Class
-
Comparing instances of a Class
-
Finding instance methods of a class
-
Defining our own instance method
-
Defining a Class
-
Adding an instance method to a class
-
Introducing initialize method
-
Creating an instance of BankAccount
-
Defining an instance method
-
Alternate way of creating state for an object
-
Introducing attribute_accessor methods.
-
Exercise on attribute accessor
11. More on Classes
-
Creating an instance of BankAccount
-
Implementing the withdraw! method
-
Introducing self
-
More on self.
-
Transfer state between objects.
-
How does ruby execute class body?
-
self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
Good job, keep going!
Lesson Completed
Lesson Unlocked
You need to complete 0 to earn your Beginner Ruby Badge!
Continue
Well done. You did great!
You achieved Ruby For Beginners V2 badge!
Now that you have completed this course, try doing this project
Bank Teller
You’ve got cash! In this project you will write the code to get your ATM machine to work. You will be able to withdraw, deposit...
Good Job! You have 0 to go.
- Object
- Objects and variables
- Object
- Object
- Objects and variables
- Objects and variables
- Objects and Methods
- Object and Methods
- Objects
- Objects and Variables
- Inspect Method
- Method
4. Method Calls
-
Function
-
Method
-
Method
-
Method
-
Method
-
Method
-
Method
-
Method
-
Combining Variables, Objects and State
-
Methods
-
Methods
-
Methods
-
Methods
5. Method Definition
-
Method Definition
-
Add 2 numbers
-
Method calling
-
Method call
-
Method substraction
-
Method with parameters
-
Method call
-
Method Square
-
Square a number
-
Checking balance
-
instance variable
-
Increment the balance
-
Method withdraw
-
add interest
6. Introducing Strings
-
Declaring a string
-
Available methods on a String object
-
Adding two strings
-
Adding Strings using + operator
-
To String method
-
More string concatenation
-
String interpolation
-
Avoiding string interpolation
-
String interpolation and string methods
-
More string methods
-
Palindromes and reversing a string.
-
Changing state and the exclamation mark (!) convention.
7. Conditionals
-
Comparison operators
-
Uses of comparison operators
-
Introducing if statement
-
Implementing the if statement
-
Introducing else
-
Introducing elsif
-
Problem on if, elsif and else
-
Introducing && operator
-
Introducing || operator
8. Collections
-
Creating an Array
-
Length of an Array
-
Accessing elements in an Array
-
Introducing negative index
-
Changing contents of an Array
-
What can Arrays contain?
-
Accessing indexes greater than the length of an array
-
Assigning numbers continued
-
Creating an accounts array
-
Calling methods on object references in an Array
-
The max method
-
The max method
-
The insert method
9. Blocks
-
Introducing Blocks
-
Arrays each method
-
Problem on blocks
10. Classes
-
Create a class
-
Constant Variables
-
Finding class of an object
-
Methods on a Class
-
Comparing instances of a Class
-
Finding instance methods of a class
-
Defining our own instance method
-
Defining a Class
-
Adding an instance method to a class
-
Introducing initialize method
-
Creating an instance of BankAccount
-
Defining an instance method
-
Alternate way of creating state for an object
-
Introducing attribute_accessor methods.
-
Exercise on attribute accessor
11. More on Classes
-
Creating an instance of BankAccount
-
Implementing the withdraw! method
-
Introducing self
-
More on self.
-
Transfer state between objects.
-
How does ruby execute class body?
-
self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
Good job, keep going!
Lesson Completed
Lesson Unlocked
You need to complete 0 to earn your Beginner Ruby Badge!
Continue
Well done. You did great!
You achieved Ruby For Beginners V2 badge!
Now that you have completed this course, try doing this project
Bank Teller
You’ve got cash! In this project you will write the code to get your ATM machine to work. You will be able to withdraw, deposit...
Good Job! You have 0 to go.
- Function
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Combining Variables, Objects and State
- Methods
- Methods
- Methods
- Methods
5. Method Definition
-
Method Definition
-
Add 2 numbers
-
Method calling
-
Method call
-
Method substraction
-
Method with parameters
-
Method call
-
Method Square
-
Square a number
-
Checking balance
-
instance variable
-
Increment the balance
-
Method withdraw
-
add interest
6. Introducing Strings
-
Declaring a string
-
Available methods on a String object
-
Adding two strings
-
Adding Strings using + operator
-
To String method
-
More string concatenation
-
String interpolation
-
Avoiding string interpolation
-
String interpolation and string methods
-
More string methods
-
Palindromes and reversing a string.
-
Changing state and the exclamation mark (!) convention.
7. Conditionals
-
Comparison operators
-
Uses of comparison operators
-
Introducing if statement
-
Implementing the if statement
-
Introducing else
-
Introducing elsif
-
Problem on if, elsif and else
-
Introducing && operator
-
Introducing || operator
8. Collections
-
Creating an Array
-
Length of an Array
-
Accessing elements in an Array
-
Introducing negative index
-
Changing contents of an Array
-
What can Arrays contain?
-
Accessing indexes greater than the length of an array
-
Assigning numbers continued
-
Creating an accounts array
-
Calling methods on object references in an Array
-
The max method
-
The max method
-
The insert method
9. Blocks
-
Introducing Blocks
-
Arrays each method
-
Problem on blocks
10. Classes
-
Create a class
-
Constant Variables
-
Finding class of an object
-
Methods on a Class
-
Comparing instances of a Class
-
Finding instance methods of a class
-
Defining our own instance method
-
Defining a Class
-
Adding an instance method to a class
-
Introducing initialize method
-
Creating an instance of BankAccount
-
Defining an instance method
-
Alternate way of creating state for an object
-
Introducing attribute_accessor methods.
-
Exercise on attribute accessor
11. More on Classes
-
Creating an instance of BankAccount
-
Implementing the withdraw! method
-
Introducing self
-
More on self.
-
Transfer state between objects.
-
How does ruby execute class body?
-
self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
Good job, keep going!
Lesson Completed
Lesson Unlocked
You need to complete 0 to earn your Beginner Ruby Badge!
Continue
Well done. You did great!
You achieved Ruby For Beginners V2 badge!
Now that you have completed this course, try doing this project
Bank Teller
You’ve got cash! In this project you will write the code to get your ATM machine to work. You will be able to withdraw, deposit...
Good Job! You have 0 to go.
- Method Definition
- Add 2 numbers
- Method calling
- Method call
- Method substraction
- Method with parameters
- Method call
- Method Square
- Square a number
- Checking balance
- instance variable
- Increment the balance
- Method withdraw
- add interest
6. Introducing Strings
-
Declaring a string
-
Available methods on a String object
-
Adding two strings
-
Adding Strings using + operator
-
To String method
-
More string concatenation
-
String interpolation
-
Avoiding string interpolation
-
String interpolation and string methods
-
More string methods
-
Palindromes and reversing a string.
-
Changing state and the exclamation mark (!) convention.
7. Conditionals
-
Comparison operators
-
Uses of comparison operators
-
Introducing if statement
-
Implementing the if statement
-
Introducing else
-
Introducing elsif
-
Problem on if, elsif and else
-
Introducing && operator
-
Introducing || operator
8. Collections
-
Creating an Array
-
Length of an Array
-
Accessing elements in an Array
-
Introducing negative index
-
Changing contents of an Array
-
What can Arrays contain?
-
Accessing indexes greater than the length of an array
-
Assigning numbers continued
-
Creating an accounts array
-
Calling methods on object references in an Array
-
The max method
-
The max method
-
The insert method
9. Blocks
-
Introducing Blocks
-
Arrays each method
-
Problem on blocks
10. Classes
-
Create a class
-
Constant Variables
-
Finding class of an object
-
Methods on a Class
-
Comparing instances of a Class
-
Finding instance methods of a class
-
Defining our own instance method
-
Defining a Class
-
Adding an instance method to a class
-
Introducing initialize method
-
Creating an instance of BankAccount
-
Defining an instance method
-
Alternate way of creating state for an object
-
Introducing attribute_accessor methods.
-
Exercise on attribute accessor
11. More on Classes
-
Creating an instance of BankAccount
-
Implementing the withdraw! method
-
Introducing self
-
More on self.
-
Transfer state between objects.
-
How does ruby execute class body?
-
self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
Good job, keep going!
Lesson Completed
Lesson Unlocked
You need to complete 0 to earn your Beginner Ruby Badge!
Continue
Well done. You did great!
You achieved Ruby For Beginners V2 badge!
Now that you have completed this course, try doing this project
Bank Teller
You’ve got cash! In this project you will write the code to get your ATM machine to work. You will be able to withdraw, deposit...
Good Job! You have 0 to go.
- Declaring a string
- Available methods on a String object
- Adding two strings
- Adding Strings using + operator
- To String method
- More string concatenation
- String interpolation
- Avoiding string interpolation
- String interpolation and string methods
- More string methods
- Palindromes and reversing a string.
- Changing state and the exclamation mark (!) convention.
7. Conditionals
-
Comparison operators
-
Uses of comparison operators
-
Introducing if statement
-
Implementing the if statement
-
Introducing else
-
Introducing elsif
-
Problem on if, elsif and else
-
Introducing && operator
-
Introducing || operator
8. Collections
-
Creating an Array
-
Length of an Array
-
Accessing elements in an Array
-
Introducing negative index
-
Changing contents of an Array
-
What can Arrays contain?
-
Accessing indexes greater than the length of an array
-
Assigning numbers continued
-
Creating an accounts array
-
Calling methods on object references in an Array
-
The max method
-
The max method
-
The insert method
9. Blocks
-
Introducing Blocks
-
Arrays each method
-
Problem on blocks
10. Classes
-
Create a class
-
Constant Variables
-
Finding class of an object
-
Methods on a Class
-
Comparing instances of a Class
-
Finding instance methods of a class
-
Defining our own instance method
-
Defining a Class
-
Adding an instance method to a class
-
Introducing initialize method
-
Creating an instance of BankAccount
-
Defining an instance method
-
Alternate way of creating state for an object
-
Introducing attribute_accessor methods.
-
Exercise on attribute accessor
11. More on Classes
-
Creating an instance of BankAccount
-
Implementing the withdraw! method
-
Introducing self
-
More on self.
-
Transfer state between objects.
-
How does ruby execute class body?
-
self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
Good job, keep going!
Lesson Completed
Lesson Unlocked
You need to complete 0 to earn your Beginner Ruby Badge!
Continue
Well done. You did great!
You achieved Ruby For Beginners V2 badge!
Now that you have completed this course, try doing this project
Bank Teller
You’ve got cash! In this project you will write the code to get your ATM machine to work. You will be able to withdraw, deposit...
Good Job! You have 0 to go.
- Comparison operators
- Uses of comparison operators
- Introducing if statement
- Implementing the if statement
- Introducing else
- Introducing elsif
- Problem on if, elsif and else
- Introducing && operator
- Introducing || operator
8. Collections
-
Creating an Array
-
Length of an Array
-
Accessing elements in an Array
-
Introducing negative index
-
Changing contents of an Array
-
What can Arrays contain?
-
Accessing indexes greater than the length of an array
-
Assigning numbers continued
-
Creating an accounts array
-
Calling methods on object references in an Array
-
The max method
-
The max method
-
The insert method
9. Blocks
-
Introducing Blocks
-
Arrays each method
-
Problem on blocks
10. Classes
-
Create a class
-
Constant Variables
-
Finding class of an object
-
Methods on a Class
-
Comparing instances of a Class
-
Finding instance methods of a class
-
Defining our own instance method
-
Defining a Class
-
Adding an instance method to a class
-
Introducing initialize method
-
Creating an instance of BankAccount
-
Defining an instance method
-
Alternate way of creating state for an object
-
Introducing attribute_accessor methods.
-
Exercise on attribute accessor
11. More on Classes
-
Creating an instance of BankAccount
-
Implementing the withdraw! method
-
Introducing self
-
More on self.
-
Transfer state between objects.
-
How does ruby execute class body?
-
self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
Good job, keep going!
Lesson Completed
Lesson Unlocked
You need to complete 0 to earn your Beginner Ruby Badge!
Continue
Well done. You did great!
You achieved Ruby For Beginners V2 badge!
Now that you have completed this course, try doing this project
Bank Teller
You’ve got cash! In this project you will write the code to get your ATM machine to work. You will be able to withdraw, deposit...
Good Job! You have 0 to go.
- Creating an Array
- Length of an Array
- Accessing elements in an Array
- Introducing negative index
- Changing contents of an Array
- What can Arrays contain?
- Accessing indexes greater than the length of an array
- Assigning numbers continued
- Creating an accounts array
- Calling methods on object references in an Array
- The max method
- The max method
- The insert method
9. Blocks
-
Introducing Blocks
-
Arrays each method
-
Problem on blocks
10. Classes
-
Create a class
-
Constant Variables
-
Finding class of an object
-
Methods on a Class
-
Comparing instances of a Class
-
Finding instance methods of a class
-
Defining our own instance method
-
Defining a Class
-
Adding an instance method to a class
-
Introducing initialize method
-
Creating an instance of BankAccount
-
Defining an instance method
-
Alternate way of creating state for an object
-
Introducing attribute_accessor methods.
-
Exercise on attribute accessor
11. More on Classes
-
Creating an instance of BankAccount
-
Implementing the withdraw! method
-
Introducing self
-
More on self.
-
Transfer state between objects.
-
How does ruby execute class body?
-
self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
- Introducing Blocks
- Arrays each method
- Problem on blocks
10. Classes
-
Create a class
-
Constant Variables
-
Finding class of an object
-
Methods on a Class
-
Comparing instances of a Class
-
Finding instance methods of a class
-
Defining our own instance method
-
Defining a Class
-
Adding an instance method to a class
-
Introducing initialize method
-
Creating an instance of BankAccount
-
Defining an instance method
-
Alternate way of creating state for an object
-
Introducing attribute_accessor methods.
-
Exercise on attribute accessor
11. More on Classes
-
Creating an instance of BankAccount
-
Implementing the withdraw! method
-
Introducing self
-
More on self.
-
Transfer state between objects.
-
How does ruby execute class body?
-
self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
- Create a class
- Constant Variables
- Finding class of an object
- Methods on a Class
- Comparing instances of a Class
- Finding instance methods of a class
- Defining our own instance method
- Defining a Class
- Adding an instance method to a class
- Introducing initialize method
- Creating an instance of BankAccount
- Defining an instance method
- Alternate way of creating state for an object
- Introducing attribute_accessor methods.
- Exercise on attribute accessor
11. More on Classes
-
Creating an instance of BankAccount
-
Implementing the withdraw! method
-
Introducing self
-
More on self.
-
Transfer state between objects.
-
How does ruby execute class body?
-
self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
- Creating an instance of BankAccount
- Implementing the withdraw! method
- Introducing self
- More on self.
- Transfer state between objects.
- How does ruby execute class body?
- self in class vs. self in method body
12. Inheritance
-
Instance methods
-
Instance methods defined in the class.
-
Kernel
-
Introducing inheritance
-
Exercise on Inheritance
-
Finding Ancestors of a class
- Instance methods
- Instance methods defined in the class.
- Kernel
- Introducing inheritance
- Exercise on Inheritance
- Finding Ancestors of a class
Good job, keep going!
Lesson Completed
Lesson Unlocked
You need to complete 0 to earn your Beginner Ruby Badge!
ContinueWell done. You did great!
You achieved Ruby For Beginners V2 badge!
Now that you have completed this course, try doing this project
Bank Teller
You’ve got cash! In this project you will write the code to get your ATM machine to work. You will be able to withdraw, deposit...
Good Job! You have 0 to go.
