I've given it some thought. I would like to avoid wrapping the code in
begin - rescue and instead catch the exception in c#. Then just send the
ruby methods message and backtrace to the Ruby-exception-object from C#.
How would that be done?
Any other hints?-- Henon
On Tue, Feb 17, 2009 at 11:36
Hi Ivan,
Sounds like a great idea! I would be interested in writing a couple of
pages, i'll contact you offline - if I don't, nudge me ;)
Ben
On Wed, Feb 18, 2009 at 6:49 AM, Ivan Porto Carrero i...@flanders.co.nz wrote:
Hi
I would like to put a real-world IronRuby chapter in my book that is
Great!
Other people I thought about were
Thibaut Barrère
Robert Brotherus
Cheers
On Wed, Feb 18, 2009 at 11:54 AM, Ben Hall ben200...@googlemail.com wrote:
Hi Ivan,
Sounds like a great idea! I would be interested in writing a couple of
pages, i'll contact you offline - if I don't, nudge me
Hi Ivan,
I'm interested - I'll get back to you next week (I'm currently on
holidays).
Cheers!
-- Thibaut
Envoyé de mon iPhone
Le 18 févr. 09 à 13:13, Ivan Porto Carrero i...@flanders.co.nz a
écrit :
Great!
Other people I thought about were
Thibaut Barrère
Robert Brotherus
Cheers
You can pass the spec file to mspec itself like:
mspec run core/io/popen_close
Then I make a call to debugger http://gist.github.com/61605, which breaks on
a call to System::Diagnostics::Debugger when a debugger is attached to the app.
Unfortunately this breaks in a Ruby method, so you have to
Do you pass -D to the ir.exe that runs the specs? The debugging is better that
way, although I admit it is not good at all in any case :(
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Pete Bacon Darwin
Sent: Wednesday, February 18,
AFAIK you can't yet. It's one of those interop things that are on the back
burner while language compatibility is worked on. There's still alot of
discussion needed about how to do this...
On Wed, Feb 18, 2009 at 7:20 PM, Orion Edwards orion.edwa...@gmail.comwrote:
I'd like to mock up a WCF
DLR: FYI on formatting change. No response needed.
tfpt review /shelveset:esupport;REDMOND\jdeville
Comment :
Adds -e support to IronRuby using CommonConsoleOptions.Command. Also fixes a
formatting error in ConsoleHost.cs
esupport.diff
Description: esupport.diff
We currently don't support attributes. As a workaround you can define a class
in C# that will have all the attributes. The class can then forward all
functionality to Ruby (e.g. via abstract methods implemented in a class derived
in Ruby).
Tomas
From: ironruby-core-boun...@rubyforge.org
I have the following C# code, which I'm trying to translate to IronRuby
var host = new ServiceHost(typeof(MyService ));
host.AddServiceEndpoint(typeof(IWcfContract), new WSHttpBinding(), new
Uri(...));
This compiles fine.
My ruby translation looks like this:
host = ServiceHost.new( MyService )
Thanks for answering that. I wrote a small C# interface and then implemented
that from IronRuby
On Thu, Feb 19, 2009 at 1:54 PM, Tomas Matousek
tomas.matou...@microsoft.com wrote:
We currently don't support attributes. As a workaround you can define a
class in C# that will have all the
Updated shelveset to add tests, and make __FILE__ work correctly.
tfpt review /shelveset:esupport;REDMOND\jdeville
Comment :
Adds -e support to IronRuby using CommonConsoleOptions.Command. Adds basic
tests for -e. Finally, it makes the parser set __FILE__ to -e when it parses a
We think in similar directions.
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Orion Edwards
Sent: Wednesday, February 18, 2009 5:18 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Attributes
Fair enough:
Here's my
Looks good.
Tomas
-Original Message-
From: Jim Deville
Sent: Wednesday, February 18, 2009 6:10 PM
To: Jim Deville; IronRuby External Code Reviewers
Cc: ironruby-core@rubyforge.org
Subject: RE: Code Review: esupport
Updated shelveset to add tests, and make __FILE__ work correctly.
You can use ExceptionService:
var engine = Ruby.CreateEngine();
try {
engine.Execute(@
def foo
goo
end
def goo
raise 'hello'
end
foo
);
} catch (Exception e) {
var exceptionService = engine.GetServiceExceptionOperations();
string
Could you try the latest build?
Also try:
host.method(:add_service_endpoint).clr_members.each { |m| puts m.to_string }
What does it print?
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Orion Edwards
Sent: Wednesday, February 18, 2009
16 matches
Mail list logo