Skip to content

Commit

Permalink
Correct primitive name in String#tr_expand! error message
Browse files Browse the repository at this point in the history
  • Loading branch information
wilson committed Aug 7, 2008
1 parent ffb998b commit 7c10696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/core/string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2069,7 +2069,7 @@ def count_table(*strings)

def tr_expand!(limit)
Ruby.primitive :string_tr_expand
raise PrimitiveFailure, "String#tr_flatten primitive failed"
raise PrimitiveFailure, "String#tr_expand primitive failed"
end

def justify(width, direction, padstr=" ")
Expand Down

0 comments on commit 7c10696

Please sign in to comment.