fork(12) download
  1. def moo(options)
  2. p options[:cool]
  3. p options[:moo]
  4. p options["yes"]
  5. p options[5]
  6. end
  7.  
  8. moo(cool: "Hey", :moo => "Boo", "yes" => "No!", 5 => "Five!")
Success #stdin #stdout 0.01s 4716KB
stdin
Standard input is empty
stdout
"Hey"
"Boo"
"No!"
"Five!"