wagn/wagn — pull request #138 by ethn (2013-08-05 04:40:52+00:00)
Title: Antiflog

Used "flog" to find most complicated methods in Wagn and tried to simplify them a bit. #define_view, #event, and #add_traits are all significantly cleaned up. No major functional change intended.

Notably, all three featured "class_eval" calls that were entirely unnecessary, given that they were all already being eval'ed in a class context. Also, all three featured define_methods in which it was easy to move functionality out of the method itself, making for a lot less redundancy in those definitions (and far more readable code!).

The typecode -> type_code rename also got mushed into this branch. Probably not ideal.