用Ruby编写DSL的教程 [英] Tutorials for writing DSL in Ruby
本文介绍了用Ruby编写DSL的教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
关于如何在Ruby中实现DSL的好的在线教程是什么?我正在寻找可以解释整个过程的动手例子。
What are the good online tutorials on how to implement DSLs in Ruby? I am looking for hands-on examples that explain the whole process.
我知道关于DSL和Ruby的好书中存在以下问题:有关基于Ruby的DSL的好书。
I am aware that there is this question on good books about DSLs and Ruby: Good books on Ruby based DSL.
推荐答案
我认为这是一系列有关在ruby中构建dsl的文章:
I think this is a great series of articles on building a dsl in ruby:
http://jroller.com/rolsen/entry/building_a_dsl_in_ruby
这篇关于用Ruby编写DSL的教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文