
Paths
Ruby Language Fundamentals
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
1h 12m
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
- Course Overview
- Discovering Ruby
- Understanding Ruby Objects
- Unlocking Ruby's Hidden Magic
- Exploring Ruby's Ecosystem
- Understanding Ruby's Pros and Cons
Ruby: Getting Started
1h 39m
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
- Course Overview
- Writing Your First Ruby Program
- Reading Input Data
- Having Fun with Strings
- Defining Functions
- Juggling Collections
- Understanding Iteration
- Writing Conditionals
- Dealing with Errors
- Wrapping up the Program
Reading and Writing Data with Ruby
1h 37m
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
- Course Overview
- Working with Files
- Working with CSV
- Working with JSON
- Fetching Data from a Web Service
Data Iteration with Ruby
1h 5m
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
- Course Overview
- Working with Blocks
- Using Procs and Lambdas
- Adding Functionality with Mixins
Object-oriented Ruby Fundamentals
2h 1m
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
- Course Overview
- Classes and Objects
- Dynamic Aspects of Class and Object Definitions
- Modeling Data Hierarchies with Inheritance
- Using Modules to Organize and Reuse Functionality
- Implementing Object-oriented Designs
Packaging Ruby Code with RubyGems
2h 10m
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
- Course Overview
- Introduction
- Packaging Your Code
- Versioning Your RubyGem
- Sharing and Publishing Your RubyGem
Unit Testing with Ruby
3h 2m
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
- Course Overview
- Introduction to Testing Ruby Code
- Manual Testing Your Ruby Code
- Automating Testing Using Test:Unit
- Automating Testing Using RSpec
- Automating Testing Using Minitest
- Faking Application Behavior for Testing