diff options
| author | realtradam <[email protected]> | 2023-02-09 15:11:04 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-02-09 15:11:04 -0500 |
| commit | 90950ee613c32c248108406a176598d6216e3140 (patch) | |
| tree | 409575b91cf6a9c7cfa5e242d67db5f72a67a537 /test_suite.rb | |
| parent | 0767bc19f3d63201c94553e9ee271c56bea946cc (diff) | |
| download | mruby-playground-90950ee613c32c248108406a176598d6216e3140.tar.gz mruby-playground-90950ee613c32c248108406a176598d6216e3140.zip | |
added keyword arguments example
Diffstat (limited to 'test_suite.rb')
| -rw-r--r-- | test_suite.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test_suite.rb b/test_suite.rb index 7ddc1eb..5ceb936 100644 --- a/test_suite.rb +++ b/test_suite.rb @@ -6,9 +6,14 @@ BasicExample.say_hello BasicExample.say_goodbye puts -puts " - Multiply Numbers Return Example - " +puts " - Arguments And Return Example - " print "3 * 10 = " puts ArgumentsAndReturnExample.multiply_numbers(3, 10) puts +puts " - Keyword Arguments Example - " +print "(x: 4) * (y: 6) = " +puts KeywordArgumentsExample.multiply_numbers(x: 4, y: 6) +puts + puts "Reached end of test suite." |
