This library implements two methods:
Array#~ turns an
Array into a
Symbol#~ turns a
Symbol into a
case something when ~:to_hash then ... when ~:to_ary then ... else ~[1, 2, 3] end
It does not reach the threshold of originality, so no license is needed.