O'Reilly logo

IronRuby Unleashed by Shay Friedman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Advanced Ruby

In This Chapter

Threads

Handling Files

Reflection

Marshaling

RubyGems

Design Patterns

This chapter covers advanced techniques and operations that are available in Ruby. You learn about threads and file operations in Ruby. You also learn about reflection, which is outstanding compared to what you might be familiar with from static languages such as C# and RubyGems (a library container). The chapter finishes by showcasing several design patterns and their implementation in Ruby.

Threads

Ruby supports multithreaded applications. Therefore, code blocks can be defined as threads and be run in parallel. For example, remember the Human class. Humans, as we know, usually do several ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required