[Ironruby-core] WPF databinding with ruby objects. Workaround :)

2008-12-11 Thread Joshua Nussbaum
Hey yall Seems IronRuby objects do not yet work with WPF databinding. One approach to a workaround is to emit a wrapper type that defines CLR properties. When WPF calls the getter/setter the call is forwarded ot the contained contained ruby object. This will allow defining business objects in ruby

Re: [Ironruby-core] Determining line number of runtime errors

2008-12-11 Thread Benjamin van der Veen
Michael Letterle wrote: > You should be able to pass in "-D" to ir.exe to get this information. > Oops, perhaps I should have been more specific about what I'm doing. I'm not actually using ir.exe, I'm creating ScriptRuntime/ScriptEngine/ScriptScope/ScriptSource in C# code. I'm wrapping the ca

Re: [Ironruby-core] Determining line number of runtime errors

2008-12-11 Thread Michael Letterle
You should be able to pass in "-D" to ir.exe to get this information. On Thu, Dec 11, 2008 at 1:09 AM, Benjamin van der Veen <[EMAIL PROTECTED] > wrote: > Hello all, > > I'm just wondering if there's any way to see what line of the source > code was being executed when an error occurred. This is