Simplify String#mb_chars and fix documentation. #8261

Merged
merged 2 commits into from Nov 28, 2012
Commits on Nov 28, 2012
  1. Fix documentation for String#mb_chars.

    steveklabnik committed Nov 28, 2012
    This documentation has been out of date.
  2. Simplify String#mb_chars and stop proxying #class

    steveklabnik committed Nov 28, 2012
    This behavior mattered under Ruby 1.8, but that doesn't matter now
    that we don't support it.
    
    In addition, we don't want to proxy the #class method. A test was added
    to prevent against regressions.