Ruby’s simple and powerful conceptual foundation allows for the creation of simple sub-languages called domain-specific languages.
Here’s an example from Rails: