# File lib/active_support/core_ext/string/access.rb, line 57 def last(limit = 1) if limit == 0 '' elsif limit >= size self else mb_chars[(-limit)..-1].to_s end end