method
each_char
Register or
log in
to add new notes.
Aleran -
May 4, 2009 - (v1_8_6_287)
2 thanks
NoMethodError: undefined method `each_char'
For some reason the each_char method on String is not available by default in Ruby 1.8.6 and you will be presented with a NoMethodError.
You can resolve this by requiring the jcode lib:
require 'jcode'