metaprogramming ruby update to 'spell book'