Redefining Splat

Submitted By:
shugo

Difficulty:
Easy

Tags:
splat operator, unary, asterik

Instructions:
Can you redefine the splat/unary/asterisk operator?

Code:
___

assert_equal "FOO", *"foo"
*x = "BAR"
assert_equal ["bar"], x

Your Solution

Ruby 1.9.3

Back to Problems