summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/file/timestamps.md14
-rw-r--r--doc/string/split.rdoc2
2 files changed, 15 insertions, 1 deletions
diff --git a/doc/file/timestamps.md b/doc/file/timestamps.md
index c8ad616567..60934edb05 100644
--- a/doc/file/timestamps.md
+++ b/doc/file/timestamps.md
@@ -51,6 +51,13 @@ Each of these methods returns the modification time for an entry as a Time objec
- File::Stat#mtime.
- Pathname#mtime.
+The modification time (along with the access time) may also be updated explicitly:
+
+- File::lutime.
+- File::utime.
+- Pathname#lutime.
+- Pathname#utime.
+
## Access \Time
The access time for an entry is the time the entry last read.
@@ -64,6 +71,13 @@ Each of these methods returns the access time for an entry as a Time object:
- File::Stat#atime.
- Pathname#atime.
+The access time (along with the modification time) may also be updated explicitly:
+
+- File::lutime.
+- File::utime.
+- Pathname#lutime.
+- Pathname#utime.
+
## Metadata-Change \Time
The metadata-change time for an entry is the time the entry last read.
diff --git a/doc/string/split.rdoc b/doc/string/split.rdoc
index 8679149003..dc6292d182 100644
--- a/doc/string/split.rdoc
+++ b/doc/string/split.rdoc
@@ -68,7 +68,7 @@ and trailing empty strings are included:
When +limit+ is negative,
there is no limit on the size of the array,
-and trailing empty strings are omitted:
+and trailing empty strings are included:
'abracadabra'.split('', -1) # => ["a", "b", "r", "a", "c", "a", "d", "a", "b", "r", "a", ""]
'abracadabra'.split('a', -1) # => ["", "br", "c", "d", "br", ""]