Skip to ContentMini Arrow Down Icon
  • Codecademy Logo
  • Codecademy Logo
AI
C
C#
C++
Cloud Computing
Command Line
CSS
Cybersecurity
Docs Community
Emojicode
General
Git
Go
HTML
Java
JavaScript
Kotlin
Markdown
Open Source
PHP
Python
Python:Matplotlib
Python:NumPy
Python:Pandas
Python:Seaborn
R
React
Ruby
SQL
Swift
SwiftUI
TypeScript
UI and UX Design
  1. Docs/
  2. Ruby

Ruby

Ruby is a dynamic, general-purpose programming language most commonly used for web development. Its key designer, Yukihiro Matsumoto, said that Ruby was designed for humans, not machines, making it a favorite of many developers and tech companies. Its most popular implementation is with the powerful Ruby on Rails web framework.

Ruby Concepts

  • Arrays
  • Casting
  • Classes
  • Comments
  • Conditionals
  • Data Types
  • Dates
  • Errors
  • Files
  • Functions
  • Gems
  • Hashes
  • Inheritance
  • Iterators
  • Lambda
  • Loops
  • Modules
  • Modulo
  • Operators
  • Random
  • RegExp
  • Ruby on Rails
  • Scope
  • Sets
  • Strings
  • User Input
  • Variables
Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn Ruby on Codecademy

Career path

Full-Stack Engineer

A full-stack engineer can get a project done from start to finish, back-end to front-end.
Checker Dense
Includes 51 Courses
Checker Dense
Certificate Icon
With Professional Certification
Checker Dense
Level Icon
Beginner Friendly
169 Lessons
Free course

Learn Ruby

Learn to program in Ruby, a flexible and beginner-friendly language used to create sites like Codecademy.
Checker Dense
Level Icon
Beginner Friendly
19 Lessons

Company

  • About
  • Careers
  • Affiliates
    • Twitter Icon
    • Facebook Icon
    • Instagram Icon
    • Youtube Icon

Resources

  • Articles
  • Blog
  • Cheatsheets
  • Code challenges
  • Docs
  • Projects
  • Videos
  • Workspaces

Support

  • Help Center

Resources

  • Articles
  • Blog
  • Cheatsheets
  • Code challenges
  • Docs
  • Projects
  • Videos
  • Workspaces

Support

  • Help Center

Plans

  • Paid memberships
  • For students
  • Business solutions

Community

  • Forums
  • Chapters
  • Events
  • Discord

Codecademy from Skillsoft

Codecademy from Skillsoft

Subjects

  • AI
  • Cloud Computing
  • Code Foundations
  • Computer Science
  • Cybersecurity
  • Data Analytics
  • Data Science
  • Data Visualization
  • Developer Tools
  • DevOps
  • Game Development
  • IT
  • Machine Learning
  • Math
  • Mobile Development
  • Web Design
  • Web Development

Languages

  • Bash
  • C
  • C++
  • C#
  • Go
  • HTML & CSS
  • Java
  • JavaScript
  • Kotlin
  • PHP
  • Python
  • R
  • Ruby
  • SQL
  • Swift

Career building

  • Career paths
  • Career services
  • Interview prep
  • Professional certification
  • —
  • Full Catalog
  • Beta Content
  • Roadmap

Mobile

  • Download on the App Store
  • Get it on Google Play

Mobile

  • Download on the App Store
  • Get it on Google Play
  • Privacy Policy
  • Cookie Policy
  • Do Not Sell My Personal Information
  • Terms
Made with ❤️in NYC © 2023 Codecademy