Hi

> in the code above, what's "c" there?
> does it mean the instance of x itself?

Yes it does.
Try
  x.mya {|c| p c}

---
Ayumu AIZAWA