Skip to content
Browse files

modify

  • Loading branch information...
1 parent 70a4815 commit 14dd4518a4f642f104c2e091c58692963bc96754 @ZhangHanDong committed Mar 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ruby_extendsions/array_extendsions.rb
View
2 lib/ruby_extendsions/array_extendsions.rb
@@ -45,7 +45,7 @@ def random
return self[rand(self.size)]
end
- # 把数组元素全部转换为字符串,只是一层
+ # 把数组元素全部转换为字符串。
def stringify_items!
self.each_with_index do |item, i|
item.is_a?(Array) ? item.stringify_items! : self[i] = item.to_s

0 comments on commit 14dd451

Please sign in to comment.
Something went wrong with that request. Please try again.