Hi There,

I'm doing a bit of playing around with IronRuby and ticking along ok.
One thing which I'm having difficulty with though is string equality
between a string that's come from an external object.

Example:

mystring = $external.MyMethod
puts "mystring=#{mystring}."

if mystring == 'abcd'
 puts "Match."
else
 puts "No match.
end

Output:

mystring=abcd.
No Match.

So I can get the value from my external method ok but it's not macthing
up with the IronRuby string object.

Does anyone know whether this is something I'm doing wrong?

Regards,

Aaron
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to