Re: [Ironruby-core] Problem with using OpenStruct and ERB

2012-10-03 Thread Badr A.
[http://www.anisaty.com/vb/ منتدى انستي] [http://www.anisaty.com/vb/t71806.html العاب باربي الصينية] [http://www.anisaty.com/vb/t71783.html العاب باربي] [http://www.anisaty.com/vb/t71821 العاب تلبيس باربي الدلوعه] [http://www.anisaty.com/vb/f8/ منتديات عالم حواء] [http://www.anisaty.com/vb/f9/

Re: [Ironruby-core] Problem with using OpenStruct and ERB

2012-06-22 Thread Nathan Standiford
rg [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Orion Edwards Sent: Tuesday, June 19, 2012 4:20 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem with using OpenStruct and ERB Ahh I see. I don't have a copy of 1.8.6 handy to test on, but this definitely fail

Re: [Ironruby-core] Problem with using OpenStruct and ERB

2012-06-19 Thread Orion Edwards
PHONE +64 7 838 9800 | FAX +64 7 838 9801 | EMAIL orion.edwa...@gallagher.co | WEB www.gallagher.co From: Nathan Standiford To: Date: 20/06/2012 10:53 a.m. Subject:Re: [Ironruby-core] Problem with using OpenStruct and ERB Sent by:ironruby-core-boun...@rubyforge.org I

Re: [Ironruby-core] Problem with using OpenStruct and ERB

2012-06-19 Thread Nathan Standiford
2:23 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem with using OpenStruct and ERB I notice that in your example, you don't declare the local variable foo anywhere: If I run it verbatim, both MRI and IronRuby fail with undefined method foo (and fair enough, foo

Re: [Ironruby-core] Problem with using OpenStruct and ERB

2012-06-19 Thread Orion Edwards
I notice that in your example, you don't declare the local variable foo anywhere: If I run it verbatim, both MRI and IronRuby fail with undefined method foo (and fair enough, foo isn't defined). When I declare foo as a local variable, both MRI and IronRuby work fine for me. ___

Re: [Ironruby-core] Problem building source - misleading information in Wiki (dev.bat)

2010-07-30 Thread Jim Deville
What are you using as your Origin (git remote -v will show you)? http://github.com/ironruby/ironruby/tree/b871551d35c6cf7344694197b2d3931c0b041c6f/Scripts/Bat shows a dev.bat and a psdev.ps1 in the repo. JD From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org]

Re: [Ironruby-core] Problem with Marshal.load in Silverlight

2010-07-26 Thread Charles Strahan
D'oh! I didn't test that code snippet - sorry. It should probably be something more along the lines of if (typeof(ISerializable).IsAssignableFrom(baseType) && !!typeof(RubyObject).IsAssignableFrom(baseType)) { or if (typeof(ISerializable).IsAssignableFrom(baseType) && !(baseType == typeof(RubyO

Re: [Ironruby-core] Problem with Marshal.load in Silverlight

2010-07-26 Thread Charles Strahan
t; Tomas > > > > *From:* ironruby-core-boun...@rubyforge.org [mailto: > ironruby-core-boun...@rubyforge.org] *On Behalf Of *Charles Strahan > *Sent:* Monday, July 26, 2010 6:26 PM > *To:* ironruby-core@rubyforge.org > *Subject:* Re: [Ironruby-core] Problem with Marshal.load

Re: [Ironruby-core] Problem with Marshal.load in Silverlight

2010-07-26 Thread Tomas Matousek
-core@rubyforge.org Subject: Re: [Ironruby-core] Problem with Marshal.load in Silverlight Alright, I know I'm not supposed to send in patch's for the runtime, but this is a bug in the Silverlight build. Classes implemented in Ruby cannot be created using RubyUtils.CreateObject, as I me

Re: [Ironruby-core] Problem with Marshal.load in Silverlight

2010-07-26 Thread Charles Strahan
Alright, I know I'm not *supposed* to send in patch's for the runtime, but this is a bug in the Silverlight build. Classes implemented in Ruby cannot be created using RubyUtils.CreateObject, as I mentioned in my previous email. As a result, Marshal.load will fail when trying to deserialize classe

Re: [Ironruby-core] Problem with latest github commits

2010-07-17 Thread Shay Friedman
Thanks for the fast reply! On Sat, Jul 17, 2010 at 6:44 PM, Jim Deville wrote: > My bad, Metadata was added recently, and as we held off on pushes to make > sure that the license change was reflected across the sources, I forgot to > update the TFS workspace. I will fix that right away. > > >

Re: [Ironruby-core] Problem with latest github commits

2010-07-17 Thread Jim Deville
My bad, Metadata was added recently, and as we held off on pushes to make sure that the license change was reflected across the sources, I forgot to update the TFS workspace. I will fix that right away. From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Be

Re: [Ironruby-core] problem setting .NET member variables

2010-03-01 Thread Andrew Warner
I believe this was an internal object reference issue - in .NET, not in Ruby. thanks! -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Problem with FolderBrowserDialog

2010-01-05 Thread Robert Rouse
That was it. It works now. On 1/5/10 10:21 AM, "Curt Hagenlocher" wrote: > I seem to recall that the actual folder brower is implemented via COM, and > that you probably need an [STAThread] attribute on your Main method. > > > From: ironruby-core-boun...@rubyforge.org > [mailto:ironruby-core

Re: [Ironruby-core] Problem with Arrays

2009-12-16 Thread Jimmy Schementi
Opened http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3314. That's wacky! Doesn't happen if you remove the last or first item ... it's gonna be fun to track that down. =) > -Original Message- > From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core- > boun...@rubyfor

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-15 Thread Immo Wache
Hi Ivan, here are same thoghts from me: To integrate IronRubyMvc into Umbraco CMS a configuration file (e.g. ironrubymvc.config) would be fine. In Umbraco is a subfolder "/config" used for such settings files. Usual way for additional modules is a reference from web.config to the location of t

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-15 Thread Immo Wache
Hello Tomas, thanks for take a look, and shed some light in this issue. When "require" Kernel method is privat we should keep the way to use a small Ruby scipt "require '[[controllerpath]]'" as the final solution. So this issue is solved from my POV. Thanks again for care, Immo Tomas Matousek

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-14 Thread Tomas Matousek
- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Immo Wache Sent: Tuesday, October 13, 2009 11:18 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1 Hi Tomas, No success so far, all

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-14 Thread Ivan Porto Carrero
How do you want to provide different development environments for ironrubymvc ? I can either do it by creating the configuration section I've been planning, this would be used to provide load paths for example for libraries outside of the web project. I can have a parameter there something like Mv

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-14 Thread Immo Wache
Hi Ivan, thanks for sharing your solution. I slightly extended it with PathProvider.MapPath. Also I fixed a bug with my added xunit tests. http://github.com/iwache/ironrubymvc/commit/b6c6e425343925b9f7a464ee43c3f80cf93c8cec Immo -- Posted via http://www.ruby-forum.com/. _

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-14 Thread Tomas Matousek
Seems like a bug. I'll take a look. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Immo Wache Sent: Tuesday, October 13, 2009 11:18 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-14 Thread Ivan Porto Carrero
done these are the changes I made, almost none :) http://github.com/casualjim/ironrubymvc/commit/bc80a3057f48c3064ddb99f5700d8279f0455189 --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-14 Thread Immo Wache
Hi Ivan, good news. If you got it ready, yes please check in. So I can update my branch and test it. Immo Ivan Porto carrero wrote: > I can check that in becuase that require is working for me now. -- Posted via http://www.ruby-forum.com/. ___ Ironr

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-14 Thread Ivan Porto Carrero
I can check that in becuase that require is working for me now. I didn't use the way Tomas suggested because that didn't work for me either. It complained about the scope not being the global scope or the global scope being empty. I just execute a script. This fixes your issue but will require you

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-14 Thread Immo Wache
Hi Ivan, I see you have alot to do with your book and things. Neverless thank you for your help. May be I can support you in my issue with help of others from this forum. Meanwhile I managed to get the tip from Tomas working by execute a plain Ruby script (I know its not a professional solutio

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-14 Thread Ivan Porto Carrero
Hi Immo, I've been able to merge your changes, will push them later. I'll see what I can do about reloading, but can't promise anything as I don't have a lot of time to spend on this. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://fla

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-13 Thread Immo Wache
Hi Tomas, No success so far, all variants produce the same exception: "InvalidOperationException: Empty scope has no global scope." ??? I tried following variants: Engine.Operations.InvokeMember(null, "require", PathProvider.MapPath(path)); Engine.Operations.InvokeMember(Context, "require",

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-13 Thread Immo Wache
Hi Tomas, thanks alot for joining the discussion. Your idea sounds interesting. I'll try it out now. Immo Tomas Matousek wrote: > “The extension method RequireFile for ruby does that respect when I > would redefine the require statement to keep track of classes contained > in a file and reloa

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-13 Thread Immo Wache
Hi Ivan, many thanks again to care about this problem. Ivan Porto carrero wrote: > I pulled in your changes Immo but ... complained about not being able > to find the correct IronRuby yada yada. Oh, my fault, sorry. I merged my local copy to my (first!) github fork (the one from you) slightly t

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-13 Thread Tomas Matousek
: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1 I've updated the ironruby libraries to what's in github currently. I pulled in your changes Immo but when i compiled the app I couldn't serve any pages up it complained about not being able to find the correct IronRuby yada yada.

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-13 Thread Ivan Porto Carrero
I've updated the ironruby libraries to what's in github currently. I pulled in your changes Immo but when i compiled the app I couldn't serve any pages up it complained about not being able to find the correct IronRuby yada yada. Anyway the fix I had in mind was removing 1 line of code and reload

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-11 Thread Immo Wache
Hi Ivan, be imressed about your prompt reply. Good to read you can reproduce the issue. To be honest, I fiddeled around with the code some nights now, so I don't expect a solution from today to now. Meanwhile I learned (Almost Everything I never ever wanted to know) about Ruby, and it seams now

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-11 Thread Ivan Porto Carrero
oic.. yes that is my fault I have to change the way I deal with requiring files and clearing out old classes. I'll go for a load strategy instead of removing them from the Globals collection, but won't be today though. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Bl

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-11 Thread Immo Wache
Hi casualjim, thanks alot for your reply. Yes it is the plain source from your master fork, with the ironruby assemblies from its dependencies folder (IR 0.9.1 ones). Calling once the Home page works fine. But when I recall it later again it fails. Reason why is the matter about the global var

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-11 Thread Jimmy Schementi
ro [i...@flanders.co.nz] Sent: Sunday, October 11, 2009 11:39 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1 I use an ironruby built on 28/09/2009 that is the one in the github repo if you build ironruby mvc. I can see the Home bpage of the test site.

Re: [Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

2009-10-11 Thread Ivan Porto Carrero
I use an ironruby built on 28/09/2009 that is the one in the github repo if you build ironruby mvc. I can see the Home bpage of the test site. Did you build ironruby mvc from source recently? --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz

Re: [Ironruby-core] Problem checking out iron ruby source

2009-04-14 Thread Antti Karanta
On Wed, 15 Apr 2009 02:25:42 +0300, Jim Deville wrote: If the cygwin installation keeps messing up, try the Msysgit one at http://code.google.com/p/msysgit. If you select the second option when it asks you where to run Git from, you can use it from CMD. Thanks for the tip. I actually

Re: [Ironruby-core] Problem checking out iron ruby source

2009-04-14 Thread Jim Deville
onruby-core- > boun...@rubyforge.org] On Behalf Of Antti Karanta > Sent: Tuesday, April 14, 2009 12:49 AM > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] Problem checking out iron ruby source > > > On Tue, 07 Apr 2009 21:45:21 +0300, Shri Borde > wrote: &g

Re: [Ironruby-core] Problem checking out iron ruby source

2009-04-14 Thread Antti Karanta
On Tue, 07 Apr 2009 21:45:21 +0300, Shri Borde wrote: No idea. Can you clone any other GIT repo? No, iron ruby is my first contact with git. Now that you mentioned it I tried to clone a random project from github and it gives the same error, so the problem is probably with my git in

Re: [Ironruby-core] Problem checking out iron ruby source

2009-04-07 Thread Shri Borde
No idea. Can you clone any other GIT repo? Did you Google for it? Btw, I found that the GIT tutorial at http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html is very helpful for ramping up on GIT concepts. Thanks, Shri -Original Message- From: ironruby-core-boun...@rubyforge

Re: [Ironruby-core] Problem getting IronRuby running - it won't compile

2009-03-23 Thread Jimmy Schementi
09 11:58 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem getting IronRuby running - it won't compile Oooh, yeah I was using the svn repository. I guess I have to go get Git Jim Deville wrote: > Open ruby.sln. IronRuby.sln is deprecated, and should be deleted

Re: [Ironruby-core] Problem getting IronRuby running - it won't compile

2009-03-22 Thread George Mauer
Oooh, yeah I was using the svn repository. I guess I have to go get Git Jim Deville wrote: > Open ruby.sln. IronRuby.sln is deprecated, and should be deleted (I > thought it was). Are you using the old SVN sources? If so you should be > using the Git repo, or the binary we just released at Ruby

Re: [Ironruby-core] Problem getting IronRuby running - it won't compile

2009-03-21 Thread Jim Deville
Open ruby.sln. IronRuby.sln is deprecated, and should be deleted (I thought it was). Are you using the old SVN sources? If so you should be using the Git repo, or the binary we just released at Rubyforge. JD -Original Message- From: George Mauer Sent: March 21, 2009 6:18 PM To: ironrub

Re: [Ironruby-core] Problem with generic method resolution

2009-03-18 Thread Tomas Matousek
PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem with generic method resolution There are two different Expression classes in the Expressions namespace - a templated one and an untemplated one. You need to force the untemplated one, which you can do by saying System:

Re: [Ironruby-core] Problem with generic method resolution

2009-03-18 Thread Curt Hagenlocher
-core-boun...@rubyforge.org] On Behalf Of Stefan Dobrev Sent: Wednesday, March 18, 2009 4:35 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem with generic method resolution Nope. Nobody replied except you :) Bug report is filed: http://rubyforge.org/tracker/?func=detail&

Re: [Ironruby-core] problem

2009-03-18 Thread Nathan Stott
>>> >>> >>> *From:* ironruby-core-boun...@rubyforge.org [mailto: >>> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Nathan Stott >>> *Sent:* Wednesday, March 18, 2009 12:55 PM >>> *To:* ironruby-core@rubyforge.org >>> *Subject:* Re:

Re: [Ironruby-core] Problem with generic method resolution

2009-03-18 Thread Stefan Dobrev
Nope. Nobody replied except you :) Bug report is filed: http://rubyforge.org/tracker/?func=detail&aid=24668&group_id=4359&atid=16798 2009/3/17 Jimmy Schementi > Did anyone reply to you? If you haven’t submitted a bug on RubyForge, > please do. > > > > *From:* ironruby-core-boun...@rubyforge.or

Re: [Ironruby-core] problem

2009-03-18 Thread Ivan Porto Carrero
s the right list – we don’t have any other. >> >> >> >> Tomas >> >> >> >> *From:* ironruby-core-boun...@rubyforge.org [mailto: >> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Nathan Stott >> *Sent:* Wednesday, March 18, 2009 12:55 PM >> *To:*

Re: [Ironruby-core] problem

2009-03-18 Thread Nathan Stott
2:55 PM > *To:* ironruby-core@rubyforge.org > *Subject:* Re: [Ironruby-core] problem > > > > Good call Ivan. > > > > The LoadAssembly apparently was doing the trick! > > > > Thanks for the help. > > > BTW, was this the right mailing list for this qu

Re: [Ironruby-core] problem

2009-03-18 Thread Tomas Matousek
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Ivan Porto Carrero Sent: Wednesday, March 18, 2009 12:23 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] problem Are you using resharper for your unit tests? 2009/3/18 Nathan Stott mailto:nrst...@gmail.com>> I dont know i

Re: [Ironruby-core] problem

2009-03-18 Thread Nathan Stott
Good call Ivan. The LoadAssembly apparently was doing the trick! Thanks for the help. BTW, was this the right mailing list for this question? Is there a users mailing list? 2009/3/18 Ivan Porto Carrero > If so turn off shadow copy assemblies under Resharper -> options -> unit > testing > > On

Re: [Ironruby-core] problem

2009-03-18 Thread Ivan Porto Carrero
Are you using resharper for your unit tests? 2009/3/18 Nathan Stott > I dont know if this helps, but this is the full output of the test: > > ComponentLoaderRegisteringComponentContext.ShouldRegisterComponent : Failed > CT_INIT: Object > > UPDATED: Object

Re: [Ironruby-core] problem

2009-03-18 Thread Ivan Porto Carrero
If so turn off shadow copy assemblies under Resharper -> options -> unit testing On Wed, Mar 18, 2009 at 8:22 PM, Ivan Porto Carrero wrote: > Are you using resharper for your unit tests? > > > > 2009/3/18 Nathan Stott > >> I dont know if this helps, but this is the full output of the test: >> >>

Re: [Ironruby-core] problem

2009-03-18 Thread Nathan Stott
I tried that and no luck. It doesn't seem that the assembly is not being loaded properly. I'm able to use methods on the objects fine in the script. However, it is that last call to the $container.Register(ComponentRegistration.new(model)) where for some reason it won't work. ComponentRegistrati

Re: [Ironruby-core] problem

2009-03-18 Thread Nathan Stott
I dont know if this helps, but this is the full output of the test: ComponentLoaderRegisteringComponentContext.ShouldRegisterComponent : Failed CT_INIT: Object UPDATED: Object CreateInstanceSingletonaffected=1 rules=0 UPDATED: Object CreateInstanceSingletonaffected=1 rules=

Re: [Ironruby-core] problem

2009-03-18 Thread Ivan Porto Carrero
You can try using the LoadAssembly method on the runtime object runtime.LoadAssembly(typeof(IWindsorContainer).Assembly); that should require the assembly a little nicer I think you can also use load_assembly 'Castle.Windsor' http://github.com/casualjim/ninject-dynamic/blob/0b531d9e3ae46cc3e854

Re: [Ironruby-core] problem

2009-03-18 Thread Nathan Stott
I'm using the hosting API. This is the entire method: public void Load(IWindsorContainer container, TextReader reader) { var runtime = Ruby.CreateRuntime(); ScriptEngine engine = Ruby.GetEngine(runtime); var ctx = Ruby.GetExecutionContext(runtime); ctx.DefineReadOnlyGlobalVariable("container", cont

Re: [Ironruby-core] problem

2009-03-18 Thread Tomas Matousek
How do you run this script? From command line (ir.exe script.rb) or do you use hosting API? Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Nathan Stott Sent: Wednesday, March 18, 2009 8:33 AM To: ironruby-core@rubyforge.org Subject: [Ir

Re: [Ironruby-core] Problem with generic method resolution

2009-03-17 Thread Jimmy Schementi
Did anyone reply to you? If you haven't submitted a bug on RubyForge, please do. From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Stefan Dobrev Sent: Monday, March 09, 2009 7:57 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Problem

Re: [Ironruby-core] problem with WPF animation.Duration= and TimeSpan

2009-02-16 Thread Jimmy Schementi
Crazy. I've opened a bug: http://rubyforge.org/tracker/index.php?func=detail&aid=23953&group_id=4359&atid=16798 ~js From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Meinrad Recheis Sent: Monday, February 16, 2009 6:34 AM To: ironruby-core Subjec

Re: [Ironruby-core] Problem calling explicit interface methods

2009-01-08 Thread Shri Borde
e App::IFoo(cls).bar(). Thanks, Shri -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tomas Matousek Sent: Thursday, January 08, 2009 8:50 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem ca

Re: [Ironruby-core] Problem calling explicit interface methods

2009-01-08 Thread Tomas Matousek
Not yet. obj.as(IFoo1).Bar() might be one option. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Alex 2k8 Sent: Thursday, January 08, 2009 8:54 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core

Re: [Ironruby-core] Problem calling CLR method

2009-01-08 Thread Alex 2k8
Btw, IronPython can call same method: http://farnet.googlecode.com/files/IronPythonFar.1.0.35.rar IronPythonFar\Scripts\calc.py - - - far.RegisterTool(ipy, "IronPython calculator", calc, FarManager.ToolOptions.F11Menus) - - - -- Posted via http://www.ruby-forum.com/. __

Re: [Ironruby-core] Problem calling CLR method

2009-01-08 Thread Alex 2k8
> Could you sent source code for FarNet class (RegisterTool method > declaration)? http://code.google.com/p/farnet/source/browse/trunk/FarNet/FarNetIntf/Far.cs http://code.google.com/p/farnet/source/browse/trunk/FarNet/FarNetPlugin/Far.h http://code.google.com/p/farnet/source/browse/trunk/FarNet/

Re: [Ironruby-core] Problem calling explicit interface methods

2009-01-08 Thread Alex 2k8
Curious, how it is expected to work (or nobody thinked it over yet?) Example to consider: - - - - public interface IFoo1 { void Bar(); } public interface IFoo2 { void Bar(); } public class Cls : IFoo1, IFoo2 { void IFoo1.Bar() {}

Re: [Ironruby-core] Problem calling explicit interface methods

2009-01-08 Thread Tomas Matousek
: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem calling explicit interface methods I'm not convinced this is exactly a bug. There is no public 'bar' method on Cls after all. I think IronPython would require you to say something like App::IFoo::bar(App::Cls.new()) i

Re: [Ironruby-core] Problem calling CLR method

2009-01-08 Thread Tomas Matousek
Could you sent source code for FarNet class (RegisterTool method declaration)? Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Alex 2k8 Sent: Wednesday, January 07, 2009 5:25 PM To: ironruby-core@rubyforge.org S

Re: [Ironruby-core] Problem calling explicit interface methods

2009-01-08 Thread Curt Hagenlocher
nruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tomas Matousek Sent: Thursday, January 08, 2009 7:56 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problem calling explicit interface methods Filed bug #23494. Tomas -Original Message- From: iro

Re: [Ironruby-core] Problem calling explicit interface methods

2009-01-08 Thread Tomas Matousek
Filed bug #23494. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Alex 2k8 Sent: Thursday, January 08, 2009 2:25 AM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Problem calling explicit interface met