Skip to main content

Questions tagged [ruby]

Ruby is an interpreted, high-level, general-purpose language. The [ruby] tag is for questions about Ruby's design, or languages which are closely related to Ruby.

Filter by
Sorted by
Tagged with
4 votes
1 answer
71 views

How do I create an internal DSL with Ruby's do notation?

A common pattern with Ruby libraries is including internal domain-specific languages, embedded within do blocks in the program. These blocks have code that is ...
Michael Homer's user avatar
  • 13k