summaryrefslogtreecommitdiff
path: root/chef/lib/chef/monkey_patches/string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef/lib/chef/monkey_patches/string.rb')
-rw-r--r--chef/lib/chef/monkey_patches/string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/monkey_patches/string.rb b/chef/lib/chef/monkey_patches/string.rb
index 30a4f33e99..ac23f09647 100644
--- a/chef/lib/chef/monkey_patches/string.rb
+++ b/chef/lib/chef/monkey_patches/string.rb
@@ -17,7 +17,7 @@
#
# == String (Patch)
-# On ruby 1.9, Strings are aware of multibyte characters, so #size and length
+# On ruby 1.9, Strings are aware of multibyte characters, so +size+ and +length+
# give the actual number of characters. In Chef::REST, we need the bytesize
# so we can correctly set the Content-Length headers, but ruby 1.8.6 and lower
# don't define String#bytesize. Monkey patching time!