Ruby patch