This is a bug. I've filed it here http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=1927
Tomas From: [email protected] [mailto:[email protected]] On Behalf Of Martin Smith Sent: Monday, August 03, 2009 4:26 PM To: [email protected] Subject: [Ironruby-core] CLR String: can't convert Range into Fixnum (Bug?) Hello, I'm wondering if I've run into a bug. I have an XmlReader and the Name property returns a string (a clr string). This becomes an issue when i do something like: reader.name<http://reader.name>[5..10] This causes a can't convert Range into Fixnum error. Is this the expected behavior? This works fine: reader.name.to_s[5..10] Thanks, Martin
_______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
