Use send for define_method since it is private in some versions of ruby
Bump version