This is small project called "staruml-ruby".
"staruml-ruby" is Ruby extension for StarUML 2 [1]. It helps you to generate Ruby source code from a UML diagram. Currently, this extension supports to generate Ruby code from class diagram. Feature that will be implemented for next release is relationship between classes. Reverse engineering (generating Ruby code to class diagram) is not supported at this moment.
Skill needed: JavaScript.
Source code is available on: https://github.com/meisyal/staruml-ruby.
License: MIT.
[1]: http://staruml.io