This course introduces the foundational concepts of Ruby classes and objects, focusing on implementing basic code structures and OOP concepts, as well as dealing with common edge cases.
Overview
Syllabus
- Unit 1: Understanding Ruby Classes: A Refresher on Attributes and Methods
- Player Class: Scoring System in Action
- Expanding Classes with Conditional Logic
- Rectangle Area Calculation Task
- Complex Number Subtraction Method
- Creating a Configurable Dice Class
- Unit 2: Understanding Ruby Classes: Constructors and Methods
- Enhancing Vehicle Method with a Boolean Parameter
- Ensuring Accurate Publication Year in Ruby Library System
- Initializing Objects with Default Parameters
- Implementing Espresso Brewing Functionality
- Spaceship Class and Launch Method
- Unit 3: Encapsulation, Private Attributes, and Methods
- Fixing the Color Change Bug in SmartLightBulb Class
- Music Player Volume Control Implementation
- Reinforcing Encapsulation with Smart Fridge
- SmartCamera Encapsulation and Focus Adjustment
- SmartWatch Battery Notification System
- Unit 4: Inheritance in Ruby: Exploring Attributes and Methods
- Spot and Fix the Delivery System Issue
- Overriding Methods in Ruby: Enhancing Inherited Functionality
- Enhancing Music Player with Volume Control
- Attribute Inheritance in Ruby
- Simulating Electronic Device and Computer Boot-up