class String
Public Instance Methods
chars()
click to toggle source
# File lib/zhongwen_tools/ruby_19.rb, line 3 def chars self.force_encoding('utf-8').scan(/./mu).to_a end
# File lib/zhongwen_tools/ruby_19.rb, line 3 def chars self.force_encoding('utf-8').scan(/./mu).to_a end