| « Measuring method call duration with Spring AOP | A Ruby proxy class for debugging » |
Third drop of RubyCLR available
I told I would keep you posted, so here are the news. John Lam has released the third version of its RubyCLR .Net/Ruby bridge. The project is soon planned to move to RubyForge.
Here is the summary:
- Reference .NET assemblies by assembly name or by filename
- Create and manipulate .NET reference and value types
- Automatically marshal .NET reference and value types to / from Ruby
- Dynamic generation of interop code using CIL instructions
- Create and manipulate generic .NET reference types
- Discover and consume .NET interfaces on a .NET object
- Implement .NET event handlers using Ruby blocks
- Map .NET member names to Ruby names (e.g. WordCount becomes word_count)
- Mix in Ruby Enumerable support for .NET IEnumerable types
- Dynamically access .NET XML documentation from irb (requires text/format. to make it work uncomment require in rubyclr.rb)
I'm anticipating that given the ease to learn the basics of ruby, this bridge will bring many possibilities like helping testers to write integration tests for .NET applications (more on that later!).
Feedback awaiting moderation
This post has 1 feedback awaiting moderation...