BT
Newer rss
  • Adding Properties to Ruby Metaprogramatically

    by Werner Schuster on  Apr 18, 2007 8

    Werner Schuster walks us through a simple example of adding Java-style properties support (declarative getters, setters and change listeners) to Ruby classes via a Mixin by using elements of meta-programming. Introduces ideas for enhancement using principles of design-by-contract and pluggable type systems.

  • Evaluation Options in Ruby

    by Jay Fields on  Feb 14, 2007 2

    Jay Fields, known for his cutting edge work defining BNLs (Business Natural Languages) delivers a code-rich explanation of eval, class_eval, and instance_eval, in the context of implementing domain-specific languages in Ruby.

  • Agile Asset Management with Ruby DSLs

    by Jeremy Voorhis on  May 22, 2006 7

    Ruby makes it easy to craft Domain-Specific-Languages with Ruby syntax. This article is a story about the benefits derived from implementing a Ruby DSL for a PLANET ARGON development project.

General Feedback
Bugs
Advertising
Editorial
Marketing
InfoQ.com and all content copyright © 2006-2016 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT