Skip to content
Allows C#, Visual Basic, and F# to be written inline with IronRuby.
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
lib
test
IronRubyInline.kpf
LICENSE
README.rdoc
Rakefile

README.rdoc

IronRubyInline

Allows C#, F#, and Visual Basic code to be compiled inline with IronRuby code.

Usage

gem 'iron_ruby_inline'
require 'iron_ruby_inline'

Examples

%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

Copyright © 2009 Ray Vernagus. See LICENSE for details.

Something went wrong with that request. Please try again.