Re: [Ironruby-core] Extending CLR class weirdness

2009-08-13 Thread Tomas Matousek
is issue: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=2009 Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Orion Edwards Sent: Thursday, August 13, 2009 4:27 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Extending CLR class

[Ironruby-core] Extending CLR class weirdness

2009-08-13 Thread Orion Edwards
Good Morning guys, me again :-) So today I'm dealing with TFS, and trying to add a method to a CLR type, as follows: class Microsoft::TeamFoundation::Build::Client::BuildServer def query_single_build(spec) self.query_builds(spec).builds.first end end I then get an instance of this class by doing