This isn't unique to Ruby and is possible in other languages.
For eg. in Smalltalk you could create this DSL...
1 day ago.