Try to implement [matz/streem](https://github.com/matz/streem) as a DSL of Ruby with a little syntax sacrifice.