Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Testing out multiple variable returns in a method
#ruby 2.3.1 def variable_test(things, notes) return {1=>'a',2=>'b',3=>'c'}, ['a','b','bbbc'] end val1, val2 = variable_test({},[]) puts val1 puts val2
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
testing ruby
Ruby
interacting through strings with loops
Hash and Symbols
code
simple cache
Division Function without / or * signs
IRSTSTMIDTRNS
piramid
regex.rb
Please log in to post a comment.