Ruby Language Fundamentals

Paths

Ruby Language Fundamentals

Authors: Paolo Perrotta, Raphael Alampay, Prateek Parekh, Alex Korban, Rag Dhiman

Ruby is an interpreted, high-level, general-purpose programming language that is dynamically typed and uses garbage collection. It supports multiple programming paradigms,... Read more

  • Set up a Ruby development environment
  • Ruby language fundamentals
  • Read and write data with Ruby
  • Generate CSV data with Ruby
  • Data iteration with Ruby
  • Object-oriented Ruby fundamentals
  • Packaging Ruby code with RubyGems
  • Unit testing with Ruby

Pre-requisites

  • HTML
  • CSS

Ruby Langauge Fundamentals

Ruby is an interpreted, high-level, general-purpose programming language that is dynamically typed and uses garbage collection. It supports multiple programming paradigms, including procedural, object-oriented, and functional programming. In this path you will learn the basics of Ruby and more advanced topics such as object-oriented design, code organization and testing.

Ruby: The Big Picture

by Paolo Perrotta

Sep 22, 2020 / 1h 12m

1h 12m

Start Course
Description

There are plenty of programming languages around–but for many programmers, Ruby is special. At first, it seemed to come out of nowhere, taking over the world of web applications with frameworks such as Ruby on Rails. But Ruby isn’t just for the web: it’s a great all-purpose language, perfect to write scripts or process data.

In this course, Ruby: The Big Picture, shows you what Ruby looks like–and what makes it unique. First, you'll look at Ruby from 10 miles high, examining its strong and weak points. Next, you'll view snippets of Ruby code. Then, you’ll see why so many developers are in love with this weird language from Japan.

After watching this course, you’ll know enough Ruby to answer one all-important question: is this language for me, and why should I learn it?

Table of contents
  1. Course Overview
  2. Discovering Ruby
  3. Understanding Ruby Objects
  4. Unlocking Ruby's Hidden Magic
  5. Exploring Ruby's Ecosystem
  6. Understanding Ruby's Pros and Cons

Ruby: Getting Started

by Paolo Perrotta

Nov 9, 2020 / 1h 39m

1h 39m

Start Course
Description

Ruby is a language that prides itself on doing things its own way. In this course, Ruby: 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.

Table of contents
  1. Course Overview
  2. Writing Your First Ruby Program
  3. Reading Input Data
  4. Having Fun with Strings
  5. Defining Functions
  6. Juggling Collections
  7. Understanding Iteration
  8. Writing Conditionals
  9. Dealing with Errors
  10. Wrapping up the Program

Reading and Writing Data with Ruby

by Raphael Alampay

Nov 20, 2020 / 1h 37m

1h 37m

Start Course
Description

Processing data from a third party provider in JSON or CSV format is essential for communicating with other systems and representing complex information. In this course, Reading and Writing Data with Ruby, you’ll learn to read and parse data in JSON and CSV format using Ruby’s standard library and interact with various sources that make use of these formats including local files and information returned by web services. First, you’ll explore how data is structured using either JSON or CSV including where one format is used over the other. Next, you’ll discover how to read and write JSON and CSV data to and from a local file and how it is represented natively using Ruby’s data types. Finally you’ll learn how to apply processing of JSON data using Ruby by interacting with an actual web service. When you’re finished with this course, you’ll have the skills and knowledge of reading and writing data with Ruby needed to create applications that process data from a file and interact with third party services that use JSON to represent data.

Table of contents
  1. Course Overview
  2. Working with Files
  3. Working with CSV
  4. Working with JSON
  5. Fetching Data from a Web Service

Data Iteration with Ruby

by Prateek Parekh

Aug 28, 2020 / 1h 5m

1h 5m

Start Course
Description

Coding in any language requires an understanding of fundamental programming constructs like Blocks, modules and behavior overriding. Ruby is an interpreted, high-level, general-purpose programming language and supports procedural, functional and object-oriented programming paradigms. In this course, Data Iteration with Ruby, you’ll gain the ability to write clear, concise code that is also adaptable to change. First, you’ll explore how to call and write blocks. Next, you’ll discover how to reduce code duplication with Procs and Lambdas. Finally, you’ll learn how to use and write your own modules. When you’re finished with this course, you’ll have the skills and knowledge of Data Iteration in Ruby needed to write correct, concise, yet easily understandable code that would be a vital part of your programming toolbox.

Table of contents
  1. Course Overview
  2. Working with Blocks
  3. Using Procs and Lambdas
  4. Adding Functionality with Mixins

Object-oriented Ruby Fundamentals

by Alex Korban

Sep 24, 2020 / 2h 1m

2h 1m

Start Course
Description

Are you looking to become familiar with all the object-oriented programming features in Ruby? In this course, Object-oriented Ruby Fundamentals, you’ll learn to implement object-oriented designs with Ruby. First, you’ll explore classes, objects, and inheritance. Next, you’ll learn about modules. Finally, you’ll discover how to follow the principles of object-oriented design in Ruby. When you’re finished with this course, you’ll have the skills and knowledge of the features of the language needed to write object-oriented code in Ruby.

Table of contents
  1. Course Overview
  2. Classes and Objects
  3. Dynamic Aspects of Class and Object Definitions
  4. Modeling Data Hierarchies with Inheritance
  5. Using Modules to Organize and Reuse Functionality
  6. Implementing Object-oriented Designs

Packaging Ruby Code with RubyGems

by Rag Dhiman

Sep 4, 2020 / 2h 10m

2h 10m

Start Course
Description

How do you share your Ruby code across multiple Ruby applications while maintaining and managing the code in one central place? In this course, Packaging Ruby Code with RubyGems, you’ll learn how to share your Ruby Code using RubyGems. First, you’ll explore what RubyGems are. Next, you’ll discover how to package your own code into a RubyGem. Finally, you’ll learn how to publish your RubyGem for internal or external consumption. When you’re finished with this course, you’ll have the skills and knowledge of RubyGems needed to share your Ruby code consistently and reliably across your applications.

Table of contents
  1. Course Overview
  2. Introduction
  3. Packaging Your Code
  4. Versioning Your RubyGem
  5. Sharing and Publishing Your RubyGem

Unit Testing with Ruby

by Rag Dhiman

Jan 15, 2021 / 3h 2m

3h 2m

Start Course
Description

Manually testing and automating the testing of your software are crucial when developing and architecting that software. In this course, Unit Testing with Ruby, you’ll learn to test your Ruby application manually and automatically. First, you’ll explore Ruby tools and techniques for manually testing and debugging your application. Next, you’ll discover commonly used unit test frameworks to test your code automatically. Finally, you’ll learn how to fake application behavior for testing purposes. When you’re finished with this course, you’ll have the skills and knowledge of manually and automatically testing Ruby applications needed to develop reliable applications.

Table of contents
  1. Course Overview
  2. Introduction to Testing Ruby Code
  3. Manual Testing Your Ruby Code
  4. Automating Testing Using Test:Unit
  5. Automating Testing Using RSpec
  6. Automating Testing Using Minitest
  7. Faking Application Behavior for Testing
Offer Code *
Email * First name * Last name *
Company
Title
Phone
Country *

* Required field

Opt in for the latest promotions and events. You may unsubscribe at any time. Privacy Policy

By providing my phone number to Pluralsight and toggling this feature on, I agree and acknowledge that Pluralsight may use that number to contact me for marketing purposes, including using autodialed or pre-recorded calls and text messages. I understand that consent is not required as a condition of purchase from Pluralsight.

By activating this benefit, you agree to abide by Pluralsight's terms of use and privacy policy.

I agree, activate benefit