Allows C#, F#, and Visual Basic code to be compiled inline with IronRuby code.
gem 'iron_ruby_inline' require 'iron_ruby_inline'
%Q{ public class CsCat { public void Greet() { System.Console.WriteLine("Hai u!"); } } }.compile cscat = CsCat.new cscat.greet # Hai u! %Q{ namespace Lolz type Cat() = member this.Greet() = printfn "Hai u!" }.compile(:language => :fs) fscat = Lolz::Cat.new fscat.greet # Hai u!
Copyright © 2009 Ray Vernagus. See LICENSE for details.