diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-03-07 20:58:30 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-03-07 20:58:51 +0000 |
| commit | 6a7a2ddaca798f3cccac394d1fb9f317cbe90de6 (patch) | |
| tree | 4e49e53057b39f75813311ede13f87d238061fe6 /lib/string.moon | |
| parent | spellcheck (diff) | |
| download | alive-6a7a2ddaca798f3cccac394d1fb9f317cbe90de6.tar.gz alive-6a7a2ddaca798f3cccac394d1fb9f317cbe90de6.zip | |
add ldoc documentation
Diffstat (limited to 'lib/string.moon')
| -rw-r--r-- | lib/string.moon | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/string.moon b/lib/string.moon index 2753381..06509f3 100644 --- a/lib/string.moon +++ b/lib/string.moon @@ -1,11 +1,11 @@ -import Op, ValueInput from require 'core.base' +import Op, Input from require 'core.base' class str extends Op @doc: "(str v1 [v2]...) (.. v1 [v2]...) - concatenate/stringify values" new: => super 'str' - setup: (inputs) => super [ValueInput v for v in *inputs] + setup: (inputs) => super [Input.value v for v in *inputs] tick: => @out\set table.concat [tostring v! for v in *@inputs] { |
