# IronRuby

**URL:** https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=20

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 21

---

## [Code Review: BugFixesZ3](https://www.ruby-forum.com/t/code-review-bugfixesz3/179630)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [November 30, 2009, 9:41pm UTC](https://www.ruby-forum.com/t/code-review-bugfixesz3/179630 "2009-11-30T21:41:19Z")

</div>

tfpt review “/shelveset:BugFixesZ3;REDMOND\\tomat” DLR: Fixes http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3183: OutAttribute on parameters whose type is not ByRef should be ignored. The attribute is onl…

---

## [Invoke member and dynamic binding isn't the same?](https://www.ruby-forum.com/t/invoke-member-and-dynamic-binding-isnt-the-same/179459)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 4\
**Last updated:** [November 30, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/invoke-member-and-dynamic-binding-isnt-the-same/179459 "2009-11-30T20:21:08Z")

</div>

Hi I have some ruby code, which through a process of instance\_eval and other meta programming tricks builds an object with a method assign defined on it. I have this code in C# var scope = Engine.CreateScope(); sc…

---

## [Code Review: Time7](https://www.ruby-forum.com/t/code-review-time7/179600)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [November 30, 2009, 5:37am UTC](https://www.ruby-forum.com/t/code-review-time7/179600 "2009-11-30T05:37:55Z")

</div>

tfpt review “/shelveset:Time7;REDMOND\\tomat” Comment : Adds NoUnderlyingType to ModuleRestrictions. If set, the members of the underlying CLR type are not accessible from Ruby (not even via clr\_new, etc.) A Ruby li…

---

## [2d array](https://www.ruby-forum.com/t/2d-array/179594)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 3\
**Last updated:** [November 30, 2009, 2:23am UTC](https://www.ruby-forum.com/t/2d-array/179594 "2009-11-30T02:23:00Z")

</div>

I have some C# code which is expecting a 2d array. public static class Foo { public static int Bar(object\[,\] inArray) { … } } Is there any way that I can call this from IronRuby? I can’t figure out how to create …

---

## [Getting the runtime type](https://www.ruby-forum.com/t/getting-the-runtime-type/179579)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 4\
**Last updated:** [November 29, 2009, 9:25pm UTC](https://www.ruby-forum.com/t/getting-the-runtime-type/179579 "2009-11-29T21:25:06Z")

</div>

Hi I’d like to get the runtime type of a ruby class The IronPython guys can do something like this (python substituted for ruby) require ‘clr’ class Person \< Struct.new(:id, :name, :age) end they can then do clr.C…

---

## [Xap generation middleware for Rack](https://www.ruby-forum.com/t/xap-generation-middleware-for-rack/179560)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 1\
**Last updated:** [November 29, 2009, 1:38am UTC](https://www.ruby-forum.com/t/xap-generation-middleware-for-rack/179560 "2009-11-29T01:38:13Z")

</div>

Hi I’ve created a rack-xapper gem http://github.com/casualjim/rack-xapper It does basically the same thing as chiron but for any rack based application. It’s still a work in progress, it doesn’t have support for sl…

---

## [Finding the mythical root\_visual object in Gestalt](https://www.ruby-forum.com/t/finding-the-mythical-root-visual-object-in-gestalt/179460)

<div class="topic-metadata">

**Author:** [@Adam\_Burmister](https://www.ruby-forum.com/u/Adam_Burmister)\
**Replies:** 1\
**Last updated:** [November 29, 2009, 1:27am UTC](https://www.ruby-forum.com/t/finding-the-mythical-root-visual-object-in-gestalt/179460 "2009-11-29T01:27:41Z")

</div>

Hi all, I’m currently writing about Gestalt using the 1.0 release. The best documentation I can find for it is the PDF “sl-back-to-just-text.pdf”, by Jimmy, which states: "XAML accessors root\_visual maps to System.W…

---

## [ListViewItem DataTemplate](https://www.ruby-forum.com/t/listviewitem-datatemplate/179469)

<div class="topic-metadata">

**Author:** [@Patrick\_Brown](https://www.ruby-forum.com/u/Patrick_Brown)\
**Replies:** 4\
**Last updated:** [November 27, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/listviewitem-datatemplate/179469 "2009-11-27T18:11:27Z")

</div>

Hello Has anyone gotten a datatemplate for a ListView under WPF? I created a very simple C# sample and converted it to IronRuby, the C# works perfectly, the IronRuby example displays my class name, the datatemplate…

---

## [.NET Remoting with IronRuby 0.9.2](https://www.ruby-forum.com/t/net-remoting-with-ironruby-0-9-2/178807)

<div class="topic-metadata">

**Author:** [@Patrick\_Brown](https://www.ruby-forum.com/u/Patrick_Brown)\
**Replies:** 2\
**Last updated:** [November 27, 2009, 6:02pm UTC](https://www.ruby-forum.com/t/net-remoting-with-ironruby-0-9-2/178807 "2009-11-27T18:02:05Z")

</div>

Hello Has anyone been able to get Remoting to work? I get the following exception when attempting to make a call. I am rather new to IronRuby but believe my code should work, I converted a very simple snippit of w…

---

## [IronRuby + Mono + WinForms issue](https://www.ruby-forum.com/t/ironruby-mono-winforms-issue/179503)

<div class="topic-metadata">

**Author:** [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Replies:** 8\
**Last updated:** [November 26, 2009, 1:34pm UTC](https://www.ruby-forum.com/t/ironruby-mono-winforms-issue/179503 "2009-11-26T13:34:19Z")

</div>

I sent this to Thibaut, but I probably should’ve sent it to the whole list since it probably isn’t directly related to his work (sorry Thibaut!). Thanks to Ivan’s pointer to mono builds, I was able to get IronRuby to …

---

## [Back with more questions: mono 2.4.x & IR 0.9.x](https://www.ruby-forum.com/t/back-with-more-questions-mono-2-4-x-ir-0-9-x/179480)

<div class="topic-metadata">

**Author:** [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Replies:** 4\
**Last updated:** [November 26, 2009, 11:55am UTC](https://www.ruby-forum.com/t/back-with-more-questions-mono-2-4-x-ir-0-9-x/179480 "2009-11-26T11:55:59Z")

</div>

Hi Folks, Since I hear such good things about the rate at which features are being added to the project (and since it coincides with needing to write some cross-platform UI code), I thought I’d give the new version a …

---

## [2 lines to add to the ir launcher](https://www.ruby-forum.com/t/2-lines-to-add-to-the-ir-launcher/179466)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/2-lines-to-add-to-the-ir-launcher/179466 "2009-11-25T17:20:28Z")

</div>

Hi Could the following 2 lines be added to the ir launcher script for mono ? export MONO\_IOMAP=all export MONO\_MANAGED\_WATCHER=1 The first one ensures no errors when people related to casing and drive letters http…

---

## [Dispatcher.Invoke](https://www.ruby-forum.com/t/dispatcher-invoke/179432)

<div class="topic-metadata">

**Author:** [@Patrick\_Brown](https://www.ruby-forum.com/u/Patrick_Brown)\
**Replies:** 6\
**Last updated:** [November 24, 2009, 9:37pm UTC](https://www.ruby-forum.com/t/dispatcher-invoke/179432 "2009-11-24T21:37:03Z")

</div>

Hello Is it possible to call the Control.Dispatcher.Invoke in IronRuby? I have been digging around and trying various approaches for quite a while and can’t quite seem to get it to work. The most simple example I b…

---

## [Eventmachine](https://www.ruby-forum.com/t/eventmachine/179293)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 2\
**Last updated:** [November 24, 2009, 11:40am UTC](https://www.ruby-forum.com/t/eventmachine/179293 "2009-11-24T11:40:37Z")

</div>

Anybody wanna join in getting eventmachine working on IronRuby? We can probably do 1 better than the C based implementation on windows simply because .NET has all the necessary classes and exposes the events we need. …

---

## [Code Review: CV](https://www.ruby-forum.com/t/code-review-cv/179395)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [November 24, 2009, 2:55am UTC](https://www.ruby-forum.com/t/code-review-cv/179395 "2009-11-24T02:55:04Z")

</div>

tfpt review “/shelveset:CV;REDMOND\\tomat” Comment : Shri’s fix to ConditionalVariable: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3151. Tomas

---

## [Code Review: Loops20](https://www.ruby-forum.com/t/code-review-loops20/179391)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [November 24, 2009, 2:00am UTC](https://www.ruby-forum.com/t/code-review-loops20/179391 "2009-11-24T02:00:03Z")

</div>

tfpt review “/shelveset:Loops20;REDMOND\\tomat” Implements adaptive loop compilation. This feature needed major changes to local variable handling and control flow implementation in interpreter. Local variables Repla…

---

## [Code Review: glob3](https://www.ruby-forum.com/t/code-review-glob3/179386)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [November 24, 2009, 1:30am UTC](https://www.ruby-forum.com/t/code-review-glob3/179386 "2009-11-24T01:30:12Z")

</div>

tfpt review “/shelveset:glob3;REDMOND\\tomat” Enables FxCop rules in Globalization group for Ruby assemblies and fixes all violations. Tomas

---

## [Re: Using IronPython code from IronRuby](https://www.ruby-forum.com/t/re-using-ironpython-code-from-ironruby/179343)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [November 22, 2009, 9:59pm UTC](https://www.ruby-forum.com/t/re-using-ironpython-code-from-ironruby/179343 "2009-11-22T21:59:08Z")

</div>

IronPython binaries haven’t been uploaded yet. I’ll upload them as soon as I have internet Sent from my HTC From: Shay F. removed\_email\_address@domain.invalid Sent: Sunday, November 22, 2009 11:44 AM To: removed\_em…

---

## [Using IronPython code from IronRuby](https://www.ruby-forum.com/t/using-ironpython-code-from-ironruby/179332)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 2\
**Last updated:** [November 22, 2009, 8:44pm UTC](https://www.ruby-forum.com/t/using-ironpython-code-from-ironruby/179332 "2009-11-22T20:44:49Z")

</div>

Hi, I’m trying to load an IronPython file in IronRuby (via IronRuby.require) and I get an exception: “Failed to load language ‘IronPython 2.6’: type ‘IronPython.Runtime.PythonContext’ is not a valid language provider …

---

## [Ironruby RC1](https://www.ruby-forum.com/t/ironruby-rc1/179291)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 9\
**Last updated:** [November 22, 2009, 11:32am UTC](https://www.ruby-forum.com/t/ironruby-rc1/179291 "2009-11-22T11:32:25Z")

</div>

Hi I don’t get any changes coming in for the repo for the last 3 days, are those changes that make up RC1 in? Then on a side note I’m still unable to run xmpp4r with IronRuby. it should work but gets stuck in waitin…

---

## [IronRuby::Clr modules](https://www.ruby-forum.com/t/ironruby-clr-modules/179294)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 1\
**Last updated:** [November 22, 2009, 5:25am UTC](https://www.ruby-forum.com/t/ironruby-clr-modules/179294 "2009-11-22T05:25:30Z")

</div>

Hi, I’m looking at the IronRuby class and its members. I’ve run into the IronRuby::Clr module that contains modules like BigInteger, Float and String. I know that, for example, IronRuby::Clr::BigInteger is included i…

---

## [IronRuby and ActiveRecord](https://www.ruby-forum.com/t/ironruby-and-activerecord/179260)

<div class="topic-metadata">

**Author:** [@TurpinS\_Jay](https://www.ruby-forum.com/u/TurpinS_Jay)\
**Replies:** 2\
**Last updated:** [November 20, 2009, 10:09pm UTC](https://www.ruby-forum.com/t/ironruby-and-activerecord/179260 "2009-11-20T22:09:50Z")

</div>

Hi - I’ve looked around and haven’t been able to find a current set of instructions. What is the preferred way to setup IronRuby 0.9.2 with MSSQL and ActiveRecord support? Do I still need to install the MRI, or can IR…

---

## [Difficulties grasping generics + IronRuby - any idea? (OpenXML)](https://www.ruby-forum.com/t/difficulties-grasping-generics-ironruby-any-idea-openxml/179262)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 2\
**Last updated:** [November 20, 2009, 9:55pm UTC](https://www.ruby-forum.com/t/difficulties-grasping-generics-ironruby-any-idea-openxml/179262 "2009-11-20T21:55:47Z")

</div>

Hi, I’m testing out the OpenXML SDK with IronRuby (0.9.2). Turns out it’s full of generics in there, a good play field. Here I’m trying to use the API to retrieve a list of sheets in an existing xslx. I’m having a…

---

## [Can't include System](https://www.ruby-forum.com/t/cant-include-system/179261)

<div class="topic-metadata">

**Author:** [@Patrick\_Brown](https://www.ruby-forum.com/u/Patrick_Brown)\
**Replies:** 4\
**Last updated:** [November 20, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/cant-include-system/179261 "2009-11-20T19:57:33Z")

</div>

Hello Can anyone see why I can’t include System in this little script? If I do I get an exception ‘Converter is not a class (TypeError)’. If I skip the include and fully qualify the classes in that namespace this …

---

## [scope.SetVariable weirdness with instance\_eval](https://www.ruby-forum.com/t/scope-setvariable-weirdness-with-instance-eval/179214)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 4\
**Last updated:** [November 19, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/scope-setvariable-weirdness-with-instance-eval/179214 "2009-11-19T20:12:59Z")

</div>

Hi Consider the following code: public class Item { public string Title { get; private set; } public Item(string title){ Title = title; } } var \_engine = Ruby.CreateEngine(); var context = new Item(“The great…

---

## [Calling a C# static from IronRuby](https://www.ruby-forum.com/t/calling-a-c-static-from-ironruby/178935)

<div class="topic-metadata">

**Author:** [@alexandremutel](https://www.ruby-forum.com/u/alexandremutel)\
**Replies:** 12\
**Last updated:** [November 19, 2009, 9:27am UTC](https://www.ruby-forum.com/t/calling-a-c-static-from-ironruby/178935 "2009-11-19T09:27:21Z")

</div>

Hi all, Is there any way to declare a C# static method accessible from IronRuby as a regular Ruby method? like: public class MyCSharpClass { public static string mymethod(string test) { return test + “yes”; } } i…

---

## [Review: Fix](https://www.ruby-forum.com/t/review-fix/179118)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 1\
**Last updated:** [November 18, 2009, 1:45am UTC](https://www.ruby-forum.com/t/review-fix/179118 "2009-11-18T01:45:45Z")

</div>

fpt review /shelveset:regex;sborde Implements Kernel.srand with no parameters Changes RubyRegex to not clone the input string when being used for String#scan, and to share the cloned string when possible. Without the …

---

## [IO#read for socket (SocketStream.cs)](https://www.ruby-forum.com/t/io-read-for-socket-socketstream-cs/179038)

<div class="topic-metadata">

**Author:** [@SSSBSOS7SbSHS1SsSSS](https://www.ruby-forum.com/u/SSSBSOS7SbSHS1SsSSS)\
**Replies:** 3\
**Last updated:** [November 17, 2009, 7:23am UTC](https://www.ruby-forum.com/t/io-read-for-socket-socketstream-cs/179038 "2009-11-17T07:23:03Z")

</div>

Hello, I’m kenichi hashimoto. I’m Japanese. I don’t write english well. I modified the IronRuby Libirary for reading from the socket to run the script of the druby-library. The druby library is contained the standar…

---

## [Interop with Sql Mgmt Objects (SMO) - the "IronRuby Way"](https://www.ruby-forum.com/t/interop-with-sql-mgmt-objects-smo-the-ironruby-way/178947)

<div class="topic-metadata">

**Author:** [@Mark\_Wilkins](https://www.ruby-forum.com/u/Mark_Wilkins)\
**Replies:** 0\
**Last updated:** [November 13, 2009, 11:05pm UTC](https://www.ruby-forum.com/t/interop-with-sql-mgmt-objects-smo-the-ironruby-way/178947 "2009-11-13T23:05:19Z")

</div>

Thanks to casualjim in #ironruby, I figured out a way to do what I needed, but would be interested to see if there is a more appropriate solution: I’m trying to use SMO to script objects from a SqlServer DB, using IR. …

---

## [Call an overloaded constructor?](https://www.ruby-forum.com/t/call-an-overloaded-constructor/178883)

<div class="topic-metadata">

**Author:** [@Patrick\_Brown](https://www.ruby-forum.com/u/Patrick_Brown)\
**Replies:** 7\
**Last updated:** [November 13, 2009, 3:23pm UTC](https://www.ruby-forum.com/t/call-an-overloaded-constructor/178883 "2009-11-13T15:23:27Z")

</div>

Hi Is there a way for me to call an overloaded constructor?? I want to say date = new DateTime(2009,9,28) using IronRuby 0.9.2. I have been searching quite a bit and haven’t seen anything so far. Thank you, Pa…

[Previous page](https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=19)

[Next page](https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=21)
