From 1b631528da5bcc5144def58b8c71d3817b7d148b Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 12 Jul 2021 22:20:49 +0100 Subject: Make it a little more obvious file helpers return contents While reading through the lack of examples left it not obvious whether the embedded file helpers returned a path to a resource or temporary file, or the contents of the file itself. --- subplot.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subplot.md b/subplot.md index 1ef6ad9..0db6c65 100644 --- a/subplot.md +++ b/subplot.md @@ -756,7 +756,7 @@ accessed using another function: - `cap_get key` -Similarly, there's a dict for embedded data files: +Similarly, there's a dict for the contents of embedded data files: - `files_get filename` @@ -824,7 +824,7 @@ current state of the context, and each capture from a step as a keyword argument. The keyword argument name is the same as the capture name in the pattern in the bindings file. -Embedded files are accessed using a function: +The contents of embedded files are accessed using a function: - `get_file(filename)` -- cgit v1.2.1