Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Ruby Classes Basics Revision

via CodeSignal

Overview

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.

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

Reviews

Start your review of Ruby Classes Basics Revision

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.