Do it the Ruby core way