Packt
Ruby Fundamentals and Basic Programming Concepts
Packt

Ruby Fundamentals and Basic Programming Concepts

This course is part of Learn to Code with Ruby Specialization

Taught in English

Packt

Instructor: Packt

Included with Coursera Plus

Course

Gain insight into a topic and learn the fundamentals

Beginner level

Recommended experience

11 hours (approximately)
Flexible schedule
Learn at your own pace

What you'll learn

  • Install and configure Ruby on various operating systems.

  • Apply object-oriented programming principles in Ruby.

  • Write and debug Ruby programs using various methods and control structures.

  • Utilize advanced Ruby features to develop complex applications.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

September 2024

Assessments

4 assignments

Course

Gain insight into a topic and learn the fundamentals

Beginner level

Recommended experience

11 hours (approximately)
Flexible schedule
Learn at your own pace

See how employees at top companies are mastering in-demand skills

Placeholder

Build your subject-matter expertise

This course is part of the Learn to Code with Ruby Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate
Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 8 modules in this course

In this module, we will introduce you to the Ruby programming language, its historical context, and its comparison with other languages. You'll learn how to set up the development environment on macOS and Windows, including installing essential tools like XCode, Homebrew, rbenv, and VSCode. By the end, you'll write and run your first Ruby program using both the Terminal and PowerShell.

What's included

17 videos2 readings

In this module, we will delve into fundamental programming concepts using Ruby. You'll learn about different methods for outputting text, such as 'puts', 'print', and 'p', and how to use escape characters to format strings. We will also cover basic arithmetic operations, string concatenation, and handling exceptions, providing a solid foundation for further Ruby programming.

What's included

11 videos

In this module, we will focus on variables in Ruby, teaching you how to declare and use them effectively. You'll learn about variable scope, parallel assignment, and swapping values. We will also introduce constants and cover common exceptions like 'NameError', ensuring you can handle variables confidently in your programs.

What's included

8 videos1 assignment

In this module, we will explore object methods in Ruby. You'll learn how to call methods on different objects, chain methods for efficiency, and use the 'inspect' method for debugging. We'll also cover the concept of the 'nil' object, string interpolation, user input with the 'gets' method, and converting objects between types, providing a comprehensive understanding of Ruby object methods.

What's included

11 videos

In this module, we will introduce Booleans and predicate methods in Ruby. You'll learn about the equality and inequality operators, mathematical comparisons, and how to use predicate methods that return Boolean values. We will also cover methods with arguments, including handling multiple arguments and specific methods for Float objects, enhancing your ability to write logical and efficient Ruby code.

What's included

10 videos

In this module, we will focus on defining and using methods in Ruby. You'll learn how to create methods with parameters, pass arguments, and manipulate these within your methods. We'll discuss the scope of local variables, how to return values explicitly and implicitly, and how to set up optional parameters with default arguments, equipping you with essential skills for creating reusable and modular code.

What's included

9 videos1 assignment

In this module, we will introduce blocks in Ruby, focusing on their use with methods. You'll learn how to declare block variables and pass data between methods and blocks. We will also cover iteration methods such as 'upto', 'downto', and 'step', enabling you to write concise and powerful loops in your Ruby programs.

What's included

5 videos

In this module, we will explore conditionals in Ruby, teaching you how to create branching logic with if, elsif, and else statements. You'll learn to combine conditions using logical operators, set precedence with parentheses, and nest if statements for complex logic. We will also cover the case statement and the ternary operator, providing tools to write clean and efficient conditional logic in your Ruby programs.

What's included

16 videos1 reading2 assignments

Instructor

Packt
Packt
38 Courses679 learners

Offered by

Packt

Recommended if you're interested in Software Development

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

New to Software Development? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions