Skip to Main Content
IronRuby Unleashed
book

IronRuby Unleashed

by Shay Friedman
February 2010
Intermediate to advanced content levelIntermediate to advanced
552 pages
11h 51m
English
Sams
Content preview from IronRuby Unleashed

Chapter 6. Ruby’s Code-Containing Structures

In This Chapter

Methods

Blocks, Procs, and Lambdas

Classes

Modules

With Ruby’s basic syntax only, we still find it hard to build a full Ruby application.

For example, sometimes when building an application you need to write the same code several times. If you really write it several times, you end up shortly with an impossible-to-maintain and buggy application. The solution to that is to write the code once in a central place and refer to it from several places.

Another common example is code design. One important task in building big applications is designing your code to make it more maintainable, efficient, and change-ready. We can’t implement such design decisions currently ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java™ Performance

Java™ Performance

Charlie Hunt, Binu John

Publisher Resources

ISBN: 9780768689440Purchase book