Sha256: 3b55421f88553442bd78ddc774496e4e353855b9575564e9bc00cfa54829a5df

Contents?: true

Size: 1.21 KB

Versions: 12

Compression:

Stored size: 1.21 KB

Contents

Simple variable
"User name is $User, and all is well"
/is RX_USER, and/
-------------------------------------------------
Simple user variable
init: @live.api.setvar(:whatever, "some var value")
"This is $whatever"
"This is some var value"
-------------------------------------------------
Test undefined variable
"foo.bar is $foo.bar, apparently."
/undefined/
-------------------------------------------------
Variables $User and $Version
"I am user $User using Livetext v. $Version"
/user RX_USER using Livetext v. RX_VERS/
-------------------------------------------------
Undefined variable
"Here is $no.such.var's value"
"Here is [no.such.var is undefined]'s value"
-------------------------------------------------
Escaped variable name
"The backslash means that \$gamma is not a variable"
"The backslash means that $gamma is not a variable"
-------------------------------------------------
Backslash dollar dollar
init: @live.api.setvar(:amount, 2.37)
"Observe: \$$amount is not a function"
"Observe: $2.37 is not a function"
-------------------------------------------------
Period after variable name
init: @live.api.setvar(:pi, 3.14159)
"Pi is roughly $pi."
"Pi is roughly 3.14159."
-------------------------------------------------

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
livetext-0.9.49 test/extra/variables.txt
livetext-0.9.42 test/extra/variables.txt
livetext-0.9.41 test/extra/variables.txt
livetext-0.9.40 test/extra/variables.txt
livetext-0.9.39 test/extra/variables.txt
livetext-0.9.38 test/extra/variables.txt
livetext-0.9.37 test/extra/variables.txt
livetext-0.9.36 test/extra/variables.txt
livetext-0.9.35 test/extra/variables.txt
livetext-0.9.33 test/extra/variables.txt
livetext-0.9.32 test/extra/variables.txt
livetext-0.9.31 test/extra/variables.txt