Small simplifications.

This commit is contained in:
José Valim
2011-02-04 00:06:36 +01:00
parent d8635abd5b
commit fbaa1dbf7b
4 changed files with 4 additions and 13 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ object String
% "josé".length % => 4
%
def length
Erlang.erlang.length(Erlang.unicode.characters_to_list(@bin, 'utf8))
Erlang.length(Erlang.unicode.characters_to_list(@bin, 'utf8))
end
% Returns the list representation of this String.