- splat
- *
- asterisk
Ruby Function with a star (asterisk)
- The * is the splat operator it is slurpy, it will take any number of parameters
- AKA single splat
examples/functions/splat.rb
def with_splat(*things) puts things.class end with_splat() with_splat("Name", 23)