diff options
author | Joel Bradshaw <cincodenada@gmail.com> | 2017-06-23 13:35:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-23 13:35:19 -0700 |
commit | bcb1b623b1db1057085982507399c62eaa053e7b (patch) | |
tree | 994cb208a78f4116cace2cb0bfd28f16ea635c06 /tests/yaml.rb | |
parent | 5b4c74365c4ac07fd2b3ee9f4a95a42664e4f3f5 (diff) |
[scala/en] Make return value example actually demonstrate issue
Previously the `return z` didn't actually have any effect on the output, since the outer function just return the anon function's result directly. Updated to make the outer function do something to demonstrate the difference. Also renamed functions to make what they're doing easier to follow, and added a couple examples of behavior w/ explanations
Diffstat (limited to 'tests/yaml.rb')
0 files changed, 0 insertions, 0 deletions