We may earn an affiliate commission when you visit our partners.
Pluralsight logo

Ruby 2

Getting Started

Paolo Perrotta

This course will teach you the basics of Ruby with a pragmatic example. From basic types to control flow, you'll learn enough Ruby to write short programs.

Read more

This course will teach you the basics of Ruby with a pragmatic example. From basic types to control flow, you'll learn enough Ruby to write short programs.

Ruby is a language that prides itself on doing things its own way. In this course, Ruby 2: Getting Started, you’ll learn the basics of the Ruby programming language. First, you'll write Ruby code that solves a concrete programming problem. Next, you’ll see how even simple constructs like conditionals and loops have their own original spin in Ruby. Then, you’ll get to use the most common Ruby data types, including arrays and hashes. Finally, you’ll learn how to deal with programming errors and exceptions. When you're finished with this course, you’ll know how to write a simple Ruby program, and you’ll be on solid ground to delve into more specific aspects of this brilliant language.

Enroll now

What's inside

Syllabus

Course Overview
Writing Your First Ruby Program
Reading Input Data
Having Fun with Strings
Read more
Defining Functions
Juggling Collections
Understanding Iteration
Writing Conditionals
Dealing with Errors
Wrapping up the Program

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Develops foundational knowledge and skills for learners interested in Ruby
Taught by Paolo Perrotta Paolo Perrotta is an experienced Ruby developer and instructor
Introduces Ruby 2 to learners with this course, which is the latest Ruby release
Introduces the basics of Ruby programming through a practical project
Meets the needs of beginner programmers with its focus on Ruby basics

Save this course

Save Ruby 2: Getting Started to your list so you can find it easily later:
Save

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Ruby 2: Getting Started with these activities:
Read 'The Ruby Programming Language'
Gain a comprehensive understanding of Ruby by reading the authoritative book by its creator. This in-depth resource will provide valuable insights and complement the course content.
Show steps
  • Purchase or borrow a copy of 'The Ruby Programming Language'.
  • Read the book thoroughly, taking notes and highlighting important concepts.
  • Complete the exercises and examples provided in the book to reinforce your understanding.
  • Discuss the book's content with other students or online communities.
Review Ruby Syntax
Warm up with a quick review of Ruby syntax to refresh your memory and prepare for the upcoming course content.
Show steps
  • Review basic data types, such as integers, floats, and strings.
  • Go over the rules for variable naming and scope.
  • Refresh your understanding of control flow statements, such as if, else, and while loops.
Show all two activities

Career center

Learners who complete Ruby 2: Getting Started will develop knowledge and skills that may be useful to these careers:
Web Developer
A Web Developer is responsible for designing, developing, and maintaining websites and web applications. Ruby is widely used for web development. Mastery of Ruby is a basic requirement for a Web Developer and this course can assist in developing that mastery.
Software Tester
A Software Tester is responsible for testing software for defects and errors. This course may be useful for building a foundation in software testing with Ruby-based applications.
Software Developer
A Software Developer typically designs, develops, deploys, maintains, and supports software applications and programs. Since the Ruby programming language is designed with the intent of producing clean and understandable code, this course may help the budding Software Developer to write software with improved clarity and efficiency, which may lead to greater career success.
Application Support Analyst
An Application Support Analyst is responsible for troubleshooting and solving issues with software applications. This course may be useful for developing the skills to support Ruby-based applications.
Technical Writer
A Technical Writer is responsible for creating user guides, tutorials, and other documentation. This course may be foundational for technical writers who wish to specialize in writing documentation for software developers.
Information Technology Specialist
An Information Technology Specialist provides support for technology users, including hardware, software, networks, and databases. Ruby is often used in DevOps and infrastructure automation. Knowledge of Ruby may be useful to a specialist providing system support for Ruby-based systems.
Computer Systems Analyst
A Computer Systems Analyst generally researches, plans, develops, and implements computer systems. This course may be useful for anyone seeking to combine programming knowledge with systems analysis skills.
Mobile Application Developer
A Mobile Application Developer specializes in designing and developing applications for mobile devices. Knowledge of Ruby may be useful in this field, as Ruby is sometimes used in mobile application development.
Database Administrator
A Database Administrator is responsible for configuring and maintaining databases, which often support software applications. Since Ruby is commonly used for web development and Ruby programs often interact with databases, this course may be useful for those who wish to specialize in database management.
Network Administrator
A Network Administrator is responsible for supporting and maintaining network operations, ensuring a stable and secure network infrastructure. Understanding Ruby may be useful when supporting network-aware applications.
Data Analyst
A Data Analyst gathers and analyzes raw data, to derive insights and create reports. Ruby is commonly used for data analysis. This course may be useful to build a foundation in the use of Ruby for data analysis.
Information Security Analyst
An Information Security Analyst is responsible for protecting an organization's computer systems and networks from unauthorized access, use, disclosure, disruption, modification, or destruction. Knowledge of Ruby could be useful in defending against Ruby-based attacks.
Cloud Architect
A Cloud Architect is responsible for designing, implementing, and managing cloud computing solutions. Since Ruby is a popular programming language for cloud computing, this course may be useful for those who wish to specialize in cloud architecture.
Systems Engineer
A Systems Engineer is responsible for designing, developing, and maintaining complex systems, including computer hardware, software, and networks. While this course alone will not be sufficient to master the subject, it can be useful for beginners seeking to build a well-rounded foundation in programming.
User Experience Designer
A User Experience Designer is responsible for ensuring that a product or service is user-friendly. Since Ruby is used for designing websites and applications, knowledge of Ruby may be useful for a designer specializing in web and mobile applications.

Reading list

We've selected 12 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Ruby 2: Getting Started.
For those interested in delving deeper into the inner workings of Ruby, this book must-read. It provides a thorough exploration of Ruby's metaprogramming capabilities, allowing you to write more powerful and flexible code.
An accessible and engaging introduction to the Ruby programming language. It's a great companion to the course, offering a different perspective and a wealth of practical examples and exercises.
Must-read for anyone who wants to write clean and maintainable code. It provides practical advice and best practices for writing code that is easy to read, understand, and modify.
Takes a more thorough and academic approach to the Ruby programming language. While it may not be as immediately applicable to the course as some of the other texts, it provides a great foundation in programming fundamentals, object-oriented programming and Ruby-specific language features.
If you're curious about how Ruby works under the hood, this book is for you. It provides a deep dive into the Ruby interpreter and virtual machine, giving you a better understanding of how Ruby programs are executed.
Provides a comprehensive overview of the Ruby programming language. It covers everything from basic syntax to advanced topics like metaprogramming and concurrency. While it's not as in-depth as some of the other books on this list, it's a valuable resource for anyone who wants to learn more about Ruby.
A collection of practical recipes and solutions to common programming problems in Ruby. It's a great resource to have on hand for quick reference and inspiration.
Emphasizes the importance of writing clean and readable code. It provides practical tips and techniques for organizing your code, naming variables, and formatting your codebase. These principles can be applied to Ruby development as well.
If you're looking for a more visual and interactive approach to learning design patterns, this book great choice. It uses diagrams, examples, and exercises to help you understand and apply design patterns in your code.
Provides a comprehensive guide to domain-driven design, a software development approach that focuses on aligning your code with the domain knowledge of your application. While it's not specific to Ruby, the principles it covers can be applied to any programming language.
While this book focuses on Ruby on Rails, the underlying Ruby concepts it covers are still relevant to this course. It provides a hands-on approach to learning Ruby through building a web application.

Share

Help others find this course page by sharing it with your friends and followers:
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser