Sha256: a2f456f6ce70430d08591192677273554dfd18565625c4dd07f2b9d8d03b8356
Contents?: true
Size: 491 Bytes
Versions: 4
Compression:
Stored size: 491 Bytes
Contents
= Cross-Scripting Check Make sure local and instance variables from previous QED scripts are not visible in this document. expect NameError do a.assert = 100 b.assert = 200 end And two instance_varaibles @a.assert! == 1000 @b.assert! == 2000 Method definitions also do not cross QED scripts. expect NameError do cross_script_method end Constants, on the other hand, like global variables do make their way across. CROSS_SCRIPT_CONSTANT.assert == "cross?"
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
qed-2.3.0 | demo/09_cross_script.rdoc |
qed-2.2.2 | demo/09_cross_script.rdoc |
qed-2.2.1 | demo/09_cross_script.rdoc |
qed-2.2.0 | demo/09_cross_script.rdoc |