Ruby with the Unified Modeling Language (UML)

Hey Rubyers!

*) Has anyone done any investigation has knowledge of real world use of Ruby with UML? (Anyone given thought to modeling mixins and other Ruby idioms?)
*) With reference to the above, has anyone extended an existent UML solution with code generation features for Ruby?
*) Does anyone else think that Ruby would provide a great platform for visible UML execution?
(For motivation: See “A Rudimentary UML Virtual Machine as a Smalltalk Extension” at
http://heim.ifi.uio.no/~trygver/documents/2002-01-UMLVM/uml-vm-04.pdf)
or Mellor’s http://www.executableumlbook.com/
*) Could one instrument the base Class and Object with UML compliant presentation aspects and use the ObjectSpace and other trace execution services to visualize the dynamic operations?

By allowing agile code <–> UML diagrams, Ruby’s niche would grow significantly in market…

Or is it just a pipedream?

Lachlan Pitts
Technical Consultant
SoftWorks Australia Pty Ltd

email: Lachlan underscore Pitts at softworks dot com dot au

I know you are talking about something deeper here, but there are tools to
igenerate code from Dia for other scripting languages. It could probably
be readily adapted to work with Ruby as well. As far as extensions for
specific Ruby idioms, I don’t know how many of those things are necessary.
I use the Interface bit for mixins, but haven’t found a need to
significantly extend UML to accomodate Ruby.

http://dia2code.sourceforge.net/

···


Gabriel Emerson

On Thu, 20 Feb 2003 12:37:20 +0900, Lachlan Pitts wrote:

Hey Rubyers!

*) Has anyone done any investigation has knowledge of real world use of
Ruby with UML? (Anyone given thought to modeling mixins and other Ruby
idioms?) *) With reference to the above, has anyone extended an existent
UML solution with code generation features for Ruby? *) Does anyone else
think that Ruby would provide a great platform for visible UML
execution?