Thank you Ivan, that has been most helpful!

Marco


Ivan Porto carrero wrote:
> A CLR string is not the same as a ruby string. Calling .to_s before 
> downcase
> should work or you can monkey patch System::String  and add the method
> downcase to the clr string class if it bothers you too much
> 
> 
> class System::String
> 
>   def downcase
>      self.to_s.downcase
>   end
> 
> end

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to