If you're not already coding in Ruby, you may wonder how to get started--especially when it comes to the more "interesting" language features like closures and evaluations. This article provides some tips for ramping up, along with links to Amazon books. (If you're not sure whether Ruby is the language for you, read Ruby Rocks!)
This RCR presents cut-based AOP, an efficient and easy-to-use approach to Aspect Oriented Programming for Ruby.
The work herein is the culmination of multi-year discussion and inquiry on the topic of AOP for Ruby. It has been carried-out with the ultimate hope of establishing Ruby as a premier AOP language, indeed the AOP language of choice. Since AOP is a very powerful paradigm for abstracting programming solutions into separate concerns, and shows great promise for improvements in code maintenance and reusability, it seems only natural that an agile language such as Ruby would provide support for this increasingly popular pattern of design.
Examples of design patterns implemented in Ruby
Plugins are self-contained libraries made specially for Rails. They are a great way to reuse someone else’s code or to package your own code for reuse.
As the title says
Ruby provides the programmer with a set of very powerful features borrowed from the domain of functional programming, namely closures, high-order functions and first-class functions [1]. These features are implemented in Ruby by means of code blocks, Proc objects and methods (that are also objects) - concepts that are closely related and yet differ in subtle ways. In fact I found myself quite confused about this topic, having a difficulty to understand the difference between blocks, procs and methods and unsure about the best practices of using them.
Higher-Order Perl code tranlations to Ruby and notes
Explanation of Continuations with Ruby
Approaching functional programming from a procedural mindset