- Don’t subclass String because you lose all optimizations from the language
juanito = String.new("juanito")
You can call encode!
, encoding
, force_encoding
, size
, length
, dup
, <<
juanito.encode!
juanito = String.new("juanito")
You can call encode!
, encoding
, force_encoding
, size
, length
, dup
, <<
juanito.encode!