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[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

Reply via email to