# IronRuby

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

[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:** 29

---

## [IDE, Tools etc](https://www.ruby-forum.com/t/ide-tools-etc/170191)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 1\
**Last updated:** [June 14, 2009, 2:58am UTC](https://www.ruby-forum.com/t/ide-tools-etc/170191 "2009-06-14T02:58:44Z")

</div>

hi, i was wondering what people are using tool wise at the moment… in rails development i’ve been using textmate & rubymine but on windows i’ve been using powershell and notepad++. i’ve got visual studio installed an…

---

## [Code Review: ClrSuperFix](https://www.ruby-forum.com/t/code-review-clrsuperfix/170205)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 13, 2009, 11:15pm UTC](https://www.ruby-forum.com/t/code-review-clrsuperfix/170205 "2009-06-13T23:15:19Z")

</div>

tfpt review “/shelveset:ClrSuperFix;REDMOND\\tomat” Comment : Fixes bug in calls to base virtual methods. Tomas

---

## [Sealed method can be overriden](https://www.ruby-forum.com/t/sealed-method-can-be-overriden/170180)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 12\
**Last updated:** [June 13, 2009, 10:13pm UTC](https://www.ruby-forum.com/t/sealed-method-can-be-overriden/170180 "2009-06-13T22:13:54Z")

</div>

Hi guys, I’m trying to override a sealed method in IR and I succeed. For example: C#: public class Shape { public virtual int GetNumberOfSizes() { return 0; } } public class Square : Shape { public override sea…

---

## [Re: IDE, Tools etc](https://www.ruby-forum.com/t/re-ide-tools-etc/170194)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 2\
**Last updated:** [June 13, 2009, 6:36pm UTC](https://www.ruby-forum.com/t/re-ide-tools-etc/170194 "2009-06-13T18:36:01Z")

</div>

I’m using gvim for most of my development. I use PowerShell for my command line.

---

## [Error on Names documentation page](https://www.ruby-forum.com/t/error-on-names-documentation-page/170172)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 4\
**Last updated:** [June 13, 2009, 6:21pm UTC](https://www.ruby-forum.com/t/error-on-names-documentation-page/170172 "2009-06-13T18:21:48Z")

</div>

Hi, On the Names page in IronRuby.net: http://www.ironruby.net/Documentation/.NET/Names I think there is a mistake. Bullet #4 says you must implement virtual methods with their rubyesque name. I tried using the CLR…

---

## [Code Review: Blockprecomp](https://www.ruby-forum.com/t/code-review-blockprecomp/170166)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 13, 2009, 3:42am UTC](https://www.ruby-forum.com/t/code-review-blockprecomp/170166 "2009-06-13T03:42:17Z")

</div>

tfpt review “/shelveset:Blockprecomp;REDMOND\\tomat” Comment : (BlockPrecomp) Fixes bug in CLR method lookup failure caching. Implements pre-compilation for rules of methods calls with a block targeting Ruby methods…

---

## [Calling super in virtual method implementation](https://www.ruby-forum.com/t/calling-super-in-virtual-method-implementation/170144)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 0\
**Last updated:** [June 12, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/calling-super-in-virtual-method-implementation/170144 "2009-06-12T20:21:56Z")

</div>

Hi, I’m trying to implement a CLR virtual method in IronRuby and call super within it (so the default implementation will be executed as well). I then get this error: mscorlib:0:in \`get\_MethodHandle’: The requested o…

---

## [engine.ExecuteFile gives errors](https://www.ruby-forum.com/t/engine-executefile-gives-errors/169962)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 5\
**Last updated:** [June 12, 2009, 8:14pm UTC](https://www.ruby-forum.com/t/engine-executefile-gives-errors/169962 "2009-06-12T20:14:56Z")

</div>

I am using the following code to execute a Ruby file from C# but it gives me the error: var runtime = IronRuby.Ruby.CreateRuntime(); var engine = runtime.GetEngine(“rb”); engine.ExecuteFile("../../HelloWorld.…

---

## [Code Review: FixNonPublicNested](https://www.ruby-forum.com/t/code-review-fixnonpublicnested/170081)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [June 12, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/code-review-fixnonpublicnested/170081 "2009-06-12T20:11:30Z")

</div>

tfpt review “/shelveset:FixNonPublicNested;REDMOND\\tomat” Comment : Fixes bug http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=1506: -X:PrivateBinding does not enable referring to classes that have intern…

---

## [How to fire IronRuby Method from C#](https://www.ruby-forum.com/t/how-to-fire-ironruby-method-from-c/169882)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 14\
**Last updated:** [June 12, 2009, 6:33pm UTC](https://www.ruby-forum.com/t/how-to-fire-ironruby-method-from-c/169882 "2009-06-12T18:33:01Z")

</div>

Hi, I am returning an IronRuby object to C#. It is returned as a RubyClass object. I can debug and see that it also has greet() method attached to it but I am having difficulty in calling the greet() method from C#. …

---

## [Creating a .Net Array in IR](https://www.ruby-forum.com/t/creating-a-net-array-in-ir/170099)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 3\
**Last updated:** [June 12, 2009, 9:56am UTC](https://www.ruby-forum.com/t/creating-a-net-array-in-ir/170099 "2009-06-12T09:56:33Z")

</div>

Hi, I’d like to create a .Net array of a certain type inside IronRuby. It’s needed, for example, for the overloads method. For instance, try to retrieve the String.Trim(Char\[\]) method overload from IronRuby… how do y…

---

## [Code Review: DoKwdFix](https://www.ruby-forum.com/t/code-review-dokwdfix/170080)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 12, 2009, 3:18am UTC](https://www.ruby-forum.com/t/code-review-dokwdfix/170080 "2009-06-12T03:18:10Z")

</div>

tfpt review “/shelveset:DoKwdFix;REDMOND\\tomat” Fixes http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=1502: alias\_method fails for :do. Tomas

---

## [Code Review: ClrMemberEnumeration](https://www.ruby-forum.com/t/code-review-clrmemberenumeration/170076)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 12, 2009, 12:13am UTC](https://www.ruby-forum.com/t/code-review-clrmemberenumeration/170076 "2009-06-12T00:13:48Z")

</div>

tfpt review “/shelveset:ClrMemberEnumeration;REDMOND\\tomat” Implements CLR member enumeration: methods Module#methods, instance\_methods, etc. now include CLR member names. Adds IronRuby::Clr::Name class, which represe…

---

## [Problems with the irtodo application](https://www.ruby-forum.com/t/problems-with-the-irtodo-application/170068)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [June 11, 2009, 10:27pm UTC](https://www.ruby-forum.com/t/problems-with-the-irtodo-application/170068 "2009-06-11T22:27:42Z")

</div>

Most of the bugs should be out now, don’t really know what happened but I reserve the right to call on programmer excuse #12: It works on my machine how weird :wink: Met vriendelijke groeten - Best regards - Saluta…

---

## [CR: Various Git commits](https://www.ruby-forum.com/t/cr-various-git-commits/170005)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 5\
**Last updated:** [June 11, 2009, 9:22pm UTC](https://www.ruby-forum.com/t/cr-various-git-commits/170005 "2009-06-11T21:22:33Z")

</div>

refactor irtests into a ruby scripthttp://github.com/jredville/ironruby/commit/24d206a4a9abb9098dc9be111a8802eedaf0a5ce hook up test tasks, change default to run tests, make git:commit run tests, nam…

---

## [Re: Looking for documentation about special clr related methods](https://www.ruby-forum.com/t/re-looking-for-documentation-about-special-clr-related-methods/169995)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 3\
**Last updated:** [June 11, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/re-looking-for-documentation-about-special-clr-related-methods/169995 "2009-06-11T19:08:45Z")

</div>

Not docs yet, but they are coming. They are all for better .NET integration. Let me give you a little bit of the docs I’m working on: to\_clr\_type is to get the actual CLR Type object from a constant, if that constant …

---

## [Call for pulls](https://www.ruby-forum.com/t/call-for-pulls/169994)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [June 11, 2009, 1:56am UTC](https://www.ruby-forum.com/t/call-for-pulls/169994 "2009-06-11T01:56:09Z")

</div>

I’ll be doing a Git pull tomorrow. If you are ready to have your work pulled in, please merge the latest Git HEAD after 5pm (Pacific time) tonight, and let me know. I’ll be starting when I get in tomorrow, which is us…

---

## [Code Review: NewSingletons4](https://www.ruby-forum.com/t/code-review-newsingletons4/169984)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 10, 2009, 10:55pm UTC](https://www.ruby-forum.com/t/code-review-newsingletons4/169984 "2009-06-10T22:55:04Z")

</div>

tfpt review “/shelveset:NewSingletons4;REDMOND\\tomat” Improves the implementation of singleton method dispatch. The previous singleton related shelveset made IRubyObject singleton methods as fast to call as regu…

---

## [Looking for documentation about special clr related methods](https://www.ruby-forum.com/t/looking-for-documentation-about-special-clr-related-methods/169979)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 0\
**Last updated:** [June 10, 2009, 9:47pm UTC](https://www.ruby-forum.com/t/looking-for-documentation-about-special-clr-related-methods/169979 "2009-06-10T21:47:12Z")

</div>

Hi, I’ve seen that IR objects have special methods like to\_clr\_type, clr\_member, clr\_ctor and more. String also has its own to\_clr\_string method. Is there a document or site or a piece of paper that has a list of the…

---

## [Live demo of ironruby mvc](https://www.ruby-forum.com/t/live-demo-of-ironruby-mvc/169891)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 4\
**Last updated:** [June 10, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/live-demo-of-ironruby-mvc/169891 "2009-06-10T20:21:22Z")

</div>

Hi I’ve put a working demo live on IIS 7 with IronRuby MVC a very simple task list application http://irtodo.koolkraft.net the source can be found: http://github.com/casualjim/ironrubymvc-sample you can login with …

---

## [Code Review: StructNew](https://www.ruby-forum.com/t/code-review-structnew/169967)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 10, 2009, 7:40pm UTC](https://www.ruby-forum.com/t/code-review-structnew/169967 "2009-06-10T19:40:54Z")

</div>

tfpt review “/shelveset:StructNew;REDMOND\\tomat” Comment : Fixes allocation of structs. A struct can always be allocated by calling new or allocate with no parameters or calling its constructor if available. Tomas

---

## [More Interop Qs (Out, Ref and Structs)](https://www.ruby-forum.com/t/more-interop-qs-out-ref-and-structs/169858)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 6\
**Last updated:** [June 10, 2009, 7:27pm UTC](https://www.ruby-forum.com/t/more-interop-qs-out-ref-and-structs/169858 "2009-06-10T19:27:23Z")

</div>

Hi there, I’ve got a few more questions regarding interop scenarios: What happens with out parameters in methods? Currently when I try to use them I get an error: :0: can’t convert String into System::Runtime::Com…

---

## [How to use open-uri](https://www.ruby-forum.com/t/how-to-use-open-uri/169887)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 5\
**Last updated:** [June 10, 2009, 4:41am UTC](https://www.ruby-forum.com/t/how-to-use-open-uri/169887 "2009-06-10T04:41:27Z")

</div>

Hi, I am using the following code to do some screen scraping but it says “no such file to load open-uri”. Here is the code: require ‘open-uri’ require ‘uri’ class Person def greet() puts 'he…

---

## [Prettier stack traces](https://www.ruby-forum.com/t/prettier-stack-traces/169883)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 1\
**Last updated:** [June 9, 2009, 11:17pm UTC](https://www.ruby-forum.com/t/prettier-stack-traces/169883 "2009-06-09T23:17:39Z")

</div>

Hi When I use the console i get pretty error messages or at least error messages without the stacktrace of IronRuby internal calls. How do I get this pretty stack trace when hosting IronRuby in my own application? Me…

---

## [An Issue with CLR Delegates](https://www.ruby-forum.com/t/an-issue-with-clr-delegates/169841)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 4\
**Last updated:** [June 9, 2009, 10:07pm UTC](https://www.ruby-forum.com/t/an-issue-with-clr-delegates/169841 "2009-06-09T22:07:22Z")

</div>

Hi, Today I’m playing with CLR delegates :slight\_smile: I’ve run into a strange behavior. Take a look at the next C# block: public class Printer { public delegate void PrintValue(string value); } Assuming the abo…

---

## [CLR interop bug?](https://www.ruby-forum.com/t/clr-interop-bug/169874)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 1\
**Last updated:** [June 9, 2009, 10:04pm UTC](https://www.ruby-forum.com/t/clr-interop-bug/169874 "2009-06-09T22:04:13Z")

</div>

Hi What is the nitty gritty around monkey patching CLR classes. When I’m monkey patching I should be able to get to the protected members of a class right? And the private members too (I see it kind of like partial …

---

## [Net/http post\_form problem](https://www.ruby-forum.com/t/net-http-post-form-problem/169652)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 2\
**Last updated:** [June 8, 2009, 7:38am UTC](https://www.ruby-forum.com/t/net-http-post-form-problem/169652 "2009-06-08T07:38:35Z")

</div>

Hi, I’m trying to execute the next code: require ‘net/http’ require ‘uri’ puts “starting…” url = URI.parse(‘http://localhost/test3/demo.aspx’) puts “retrieving…” res = Net::HTTP.post\_form(url, {“FullName” =\> “Sha…

---

## [Code Review: NewSingletons3](https://www.ruby-forum.com/t/code-review-newsingletons3/169693)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [June 8, 2009, 5:59am UTC](https://www.ruby-forum.com/t/code-review-newsingletons3/169693 "2009-06-08T05:59:11Z")

</div>

tfpt review “/shelveset:NewSingletons3;REDMOND\\tomat” Initial work to improve singletons. Improves reflection cache generator - it searches IronRuby.dll for all types marked by \[ReflectionCache\] attribute and generat…

---

## [Basic interoperability question](https://www.ruby-forum.com/t/basic-interoperability-question/169716)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 6:45pm UTC](https://www.ruby-forum.com/t/basic-interoperability-question/169716 "2009-06-07T18:45:21Z")

</div>

Hi, I would like to know why interoperability is such a long word? just kidding! I’m playing with the CLR interoperability and I have some questions: Is “require ‘mscorlib’” really essential? Should investigating Cl…

---

## [Code Review: ProGenFix](https://www.ruby-forum.com/t/code-review-progenfix/169680)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 3\
**Last updated:** [June 7, 2009, 1:26am UTC](https://www.ruby-forum.com/t/code-review-progenfix/169680 "2009-06-07T01:26:28Z")

</div>

tfpt review “/shelveset:ProGenFix;REDMOND\\tomat” DLR, Python, Ruby. Fixes Ruby calls to protected generic methods. Adds CompilerHelpers.IsProtected() as an alias for IsFamily || IsFamilyOrAssembly. Tomas

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

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