File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2165,6 +2165,12 @@ rescue StandardError => e
21652165end
21662166----
21672167
2168+ === Standard Exceptions [[standard-exceptions]]
2169+
2170+ Prefer the use of exceptions from the standard library over introducing new exception classes.
2171+
2172+ == Files
2173+
21682174=== Reading from a file [[file-read]]
21692175
21702176Use the convenience methods `File.read` or `File.binread` when only reading a file start to finish in a single operation.
@@ -2288,10 +2294,6 @@ end
22882294FileUtils.rm_f(path)
22892295----
22902296
2291- === Standard Exceptions [[standard-exceptions]]
2292-
2293- Prefer the use of exceptions from the standard library over introducing new exception classes.
2294-
22952297== Assignment & Comparison
22962298
22972299=== Parallel Assignment [[parallel-assignment]]
You can’t perform that action at this time.
0 commit comments