diff options
Diffstat (limited to 'lib/debug.moon')
| -rw-r--r-- | lib/debug.moon | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/debug.moon b/lib/debug.moon index ece365f..f642c2e 100644 --- a/lib/debug.moon +++ b/lib/debug.moon @@ -3,12 +3,10 @@ import Op from require 'core' class out extends Op @doc: "(out name-str value) - log value to the console" - setup: (name, @chld) => - @name = name\getc! + setup: (@name, @value) => update: (dt) => - @chld\update dt - L\print "@name", @chld\get! + L\print "#{@name\unwrap 'str'}", @value\unwrap! { :out |
