Re: [Ironruby-core] scope.SetVariable weirdness with instance_eval

2009-11-19 Thread Ivan Porto Carrero
: > ironruby-core-boun...@rubyforge.org] *On Behalf Of *Ivan Porto Carrero > *Sent:* Thursday, November 19, 2009 10:51 AM > *To:* ironruby-core@rubyforge.org > *Subject:* Re: [Ironruby-core] scope.SetVariable weirdness with > instance_eval > > > > I tried closing the i

Re: [Ironruby-core] scope.SetVariable weirdness with instance_eval

2009-11-19 Thread Tomas Matousek
@rubyforge.org Subject: Re: [Ironruby-core] scope.SetVariable weirdness with instance_eval I tried closing the issue on codeplex but couldn't http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3136 Thanks for the explanation --- Met vriendelijke groeten - Best regards - Salutations Ivan

Re: [Ironruby-core] scope.SetVariable weirdness with instance_eval

2009-11-19 Thread Ivan Porto Carrero
> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Ivan Porto Carrero > *Sent:* Thursday, November 19, 2009 10:21 AM > *To:* ironruby-core > *Subject:* [Ironruby-core] scope.SetVariable weirdness with instance_eval > > > > Hi > > > > Consider the f

Re: [Ironruby-core] scope.SetVariable weirdness with instance_eval

2009-11-19 Thread Tomas Matousek
Carrero Sent: Thursday, November 19, 2009 10:21 AM To: ironruby-core Subject: [Ironruby-core] scope.SetVariable weirdness with instance_eval Hi Consider the following code: public class Item { public string Title { get; private set

[Ironruby-core] scope.SetVariable weirdness with instance_eval

2009-11-19 Thread Ivan Porto Carrero
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 greatest item ever"); var scope = _engine.CreateScope(); *scope.SetVariable("ctx