[Ironruby-core] String Equality Operation

Aaron Clauson lists at ruby-forum.com
Mon Feb 18 04:21:06 EST 2008


Found the answer for those that might come across this and are in the 
same boat:

http://www.ruby-forum.com/topic/126197#new

Working Example:

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

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

Output:

mystring=abcd.
Match.

Regards,

Aaron



-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list