Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News Article: Evaluation Options in Ruby

Article: Evaluation Options in Ruby

InfoQ is proud to present a comprehensive discussion of Ruby's various eval methods. This exclusive article is full of rich code examples, written by Domain-Specific Languages master Jay Fields, who after coining the term Business Natural Langages last year, has gone ahead to widespread recognition for his pioneering work in enterprise usage of Ruby and Rails.

In the article, Jay teaches you the capabilities and differences between class_eval, instance_eval and plain eval. His explanation provides insight into how the evaluation methods of Ruby provide very good options for creating concise, readable code.

Read Evaluation Options in Ruby

Rate this Article