This website requires JavaScript.
Explore
Help
Sign In
smits
/
ruby-uebungen
Watch
1
Star
3
Fork
You've already forked ruby-uebungen
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
58bc23516c
ruby-uebungen
/
Assignment_017
/
solution
/
readme.md
116 B
Raw
Blame
History
Lösung: Vararg-Methoden
def
produkt
(
*
p
)
p
.
reduce
{
|
s
,
e
|
s
*=
e
}
end
puts
produkt
(
5
,
7
,
8
,
1
)