Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ruby-csharp_script sample #6
require 'win32ole'
csharp_script = WIN32OLE.new('ruby.csharp_script.CsharpScript')
code = <<"EOS"
"Hello, Ruby!"
EOS
result = csharp_script.EvaluateAsync(code)
p result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment