Add example of to_a

Avoid fiber error for examples/to_a.rb

I don't know why the fiber error is caused.