That worked! That would be a fun bug to track down.
I was worried that it was reflection against an attribute, because the
documentation on the IR site seems to suggest that attributes still
aren’t
supported in .net API interop. (
http://ironruby.net/Documentation/.NET/API_Guidelines)
Thanks again!
-A
That’s a bit ambiguous.
If your C# library uses attributes I don’t see why you wouldn’t be able
to
reflect over those types with IronRuby and execute the attribute.
But using attributes in Ruby that is a totally different story. Luckily
ruby
has a different idea about classes and you can use class methods to
reach a
similar effect.
For example ASP.NET MVC uses attributes to do its job, but IronRubyMvc
has
no need for them because it uses those class methods.
ironrubymvc/IronRubyMvc/Controllers/controller.rb at master · casualjim/ironrubymvc · GitHub
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)