Re: [Ironruby-core] The Proper way to detect the Windows Platform in Ruby

2010-03-11 Thread Mark Ryall
I've been trying to writing a lot of dubious cross platform command line tools with ruby lately and have wanted to isolate the detection of various platform specific capabilities (playing audio files, accessing the clipboard, launching a browser) to a gem: http://github.com/markryall/splat It is

Re: [Ironruby-core] Getting started with IronRuby and c# issues.

2010-02-20 Thread Mark Ryall
ironruby will have 'rubified' the Person class's FirstName method to first_name and I think you mean to assert against the john instance of Person (rather than the Person class). Otherwise it looks pretty close. Try: require "test/unit" require "../IronRuby/bin/debug/IronRubyAndCSharp.dll" clas

Re: [Ironruby-core] using custom controls with gestalt

2010-01-26 Thread Mark Ryall
re part of > the "filesystem". However, I just tried this and I found a bug, so I'll check > in a fix and let you know when it's fixed. > > ~Jimmy > >> -Original Message- >> From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core- >

Re: [Ironruby-core] using custom controls with gestalt

2010-01-25 Thread Mark Ryall
mmand dependencies such as IronRuby, IronPython etc. once for every application. It's functional enough to show how easily silverlight applications can be created without needing an ide or a compiler. Mark. On Mon, Jan 25, 2010 at 7:17 PM, Mark Ryall wrote: > I'm preparing some demos of

[Ironruby-core] using custom controls with gestalt

2010-01-25 Thread Mark Ryall
I'm preparing some demos of using silverlight+ironruby with gestalt. It's really impressive but i'd like to show an example using the bing map control but can't work out how to make external controls available. Here's what I thought I should do: * Created a Microsoft.Maps.slvx containing the Mic

Re: [Ironruby-core] How can IronRuby replace XML?

2009-12-15 Thread Mark Ryall
That aspect of the blog entry was a little unclear. I'm not a big fan of XML. XML has used for all sorts of different purposes - object serialisation, application configuration, etc. - although simpler alternatives exist, not all of these are completely evil. These applications could not really

Re: [Ironruby-core] [ANN] IronRuby 0.9.2 Released

2009-11-03 Thread Mark Ryall
igem fails to install gems to the default install location (c:\Program Files\IronRuby 0.9.2) presumably because of the spaces. I can't recall the exact error message but something about "invalid characters in the path". It seems fine if you install ironruby to a path that doesn't contain spaces.

Re: [Ironruby-core] Sealed method can be overriden

2009-06-13 Thread Mark Ryall
You'll be able to override anything in ruby - you'll find CLR classes harder to fool. Try creating a C# method that accepts a Shape and calls the GetNumberOfSizes() method - I expect you'll find that the NewSquare override is ignored and the Square method is called instead. I was surprised to find

Re: [Ironruby-core] IronRuby projects newsletter

2009-05-10 Thread Mark Ryall
won't > work. Do I need to submit a bug for that or just be a little bit more > patient ? > > > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > GSM: +32.486.787.582 > Blog: http://flanders.co.nz > Twitter: http://twitter.com/casualj

Re: [Ironruby-core] IronRuby projects newsletter

2009-05-09 Thread Mark Ryall
are interested. > > > > Regards, > > Shri > > > Mixing Ruby mocking with .NET mocking frameworks > > Mark Ryall, Ivan Porto Carrero > > Investigated Moq and NMock and found that they were not a good match. A > project called Caricature <http://github.com/casualj

Re: [Ironruby-core] clr events in ruby

2009-05-04 Thread Mark Ryall
that this should work, but the name would need to be Rubified > as "add_my_event". > > > > *From:* ironruby-core-boun...@rubyforge.org [mailto: > ironruby-core-boun...@rubyforge.org] *On Behalf Of *Mark Ryall > *Sent:* Monday, May 04, 2009 6:02 AM > *To:* ironruby

[Ironruby-core] clr events in ruby

2009-05-04 Thread Mark Ryall
Hi everyone, I'm messing around with trying to create ironruby mock (actually recorder) implementations of various sorts of CLR type features and am struggling with events. Is it currently possible to create an implementation of a CLR interface that contains an event? For example using System;

Re: [Ironruby-core] Requesting contributions to IronRuby

2009-04-04 Thread Mark Ryall
I've been promising myself for quite a while that i'd like to get involved in the challenge of adding an implementation of mocking and stubbing for CLR objects to ironruby. It'd be really cool to have something equivalent to jtestr for .net development - mocks and stubs are one of the essential mi

Re: [Ironruby-core] IronRuby moving to Github

2008-11-24 Thread Mark Ryall
This is absolutely brilliant and same here - i'm keen to be of some assistance (although i'm more passionate than knowledgable about ironruby). On Tue, Nov 25, 2008 at 11:30 AM, Michael Letterle < [EMAIL PROTECTED]> wrote: > You have no idea what this news means to me. It's like... IronRuby is >

Re: [Ironruby-core] AgDLR: Silverlight + DLR + Open Source

2008-11-18 Thread Mark Ryall
Well done - that's an awesome step forward. Pity about poor old mercurial though - doesn't get much of a look in these days. I guess the 'Ag' refers to silver - out of interest, what is the origin of 'chiron'? On Wed, Nov 19, 2008 at 10:58 AM, Jimmy Schementi < [EMAIL PROTECTED]> wrote: > IronR