Skip to content

Commit 302fad8

Browse files
Merge pull request #1302 from linsword13/docs
Add mentions of upper and lower in docs
2 parents e7991e5 + a95a09d commit 302fad8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/ramble/docs/workspace_config.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ Supported functions are:
184184
* ``randint`` (from `random.randint`)
185185
* ``join_str(iterable, sep=",")`` (concatenate iterable into ``sep``-separated string)
186186
* ``re_search(regex, str)`` (determine if ``str`` contains pattern ``regex``, based on ``re.search``)
187+
* ``upper_str(str)`` (convert ``str`` to uppercase)
188+
* ``lower_str(str)`` (convert ``str`` to lowercase)
187189
* ``maybe(var_name, default="")`` (returns the expanded ``var_name`` if it is defined, otherwise returns ``default``)
188190

189191
Besides the above listed, any functions from the ``math`` module can be used in Ramble by referencing ``math_<function_name>``.

0 commit comments

Comments
 (0)