summaryrefslogtreecommitdiff
path: root/doc/string/bytesize.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/string/bytesize.rdoc')
-rw-r--r--doc/string/bytesize.rdoc11
1 files changed, 0 insertions, 11 deletions
diff --git a/doc/string/bytesize.rdoc b/doc/string/bytesize.rdoc
deleted file mode 100644
index b0567ff67b..0000000000
--- a/doc/string/bytesize.rdoc
+++ /dev/null
@@ -1,11 +0,0 @@
-Returns the count of bytes (not characters) in +self+:
-
- 'foo'.bytesize # => 3
- 'тест'.bytesize # => 8
- 'こんにちは'.bytesize # => 15
-
-Contrast with String#length:
-
- 'foo'.length # => 3
- 'тест'.length # => 4
- 'こんにちは'.length # => 5