Run Code
|
API
|
Code Wall
|
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
testing ruby
variables 1
faktorial
regex.rb
piramid
ElaineBrown** rextester.com
soncita
IS_IP?
Ruby
comments