Can Ruby import a .NET dll?

后端 未结 7 1811
野趣味
野趣味 2020-12-01 03:36

I am interested in using/learning RoR in a project where I have to use a .NET dll. Is Ruby capable of importing a .NET dll?

相关标签:
7条回答
  • 2020-12-01 03:56

    If you want to use 'normal' ruby (since I dont think IronRuby fully runs RoR yet) you might be able to go via COM - ie

    "Your Ruby Code" -> RubyCOM -> "COM-Callable Wrappers" -> "Your .NET objects"
    

    RubyCom

    That's a bit convoluted though.

    Edit: better COM-based option elsewhere in the answers

    0 讨论(0)
提交回复
热议问题