Ruby parser for structured content

To be able to use structured content in other environments than Javascript it would be great with libraries similar to the javascript parser datocms-structured-text-to-html-string.

In my case I’m building sites in Ruby on Rails and would benefit greatly with a ruby library for this.

Another option would be to be able to be able to receive HTML output of structured content directly from the API. That would considerably lower the threshold of using your solution.