{"shas":[["351ebd767c260a85e9896f000629fc9df3397f45","eda86c76b122b136940c991450c4d2ec789864ca@gmail.com","Object#instance_exec will raise a TypeError when defining/alias methods on numerics.\n\nTest Script:\n{{{\nrequire 'test/unit/assertions.rb'\ninclude Test::Unit::Assertions\n\nassert_raise(TypeError){ 1.instance_exec { def foo; end } }\nassert_raise(TypeError){ 1.instance_exec { alias :foo :to_s} }\n\nputs :ok\n}}}","Watson"],["954a8c7b55f8c31bd7384d8ce513b37abf0b24b1","eda86c76b122b136940c991450c4d2ec789864ca@gmail.com","Object#instance_eval will raise a TypeError when defining/alias methods on numerics.\n\nTest Script:\n{{{\nrequire 'test/unit/assertions.rb'\ninclude Test::Unit::Assertions\n\nassert_raise(TypeError){ 1.instance_eval { def foo; end } }\nassert_raise(TypeError){ 1.instance_eval { alias :foo :to_s} }\n\nputs :ok\n}}}","Watson"]],"repo":"MacRuby/MacRuby","actor":"Watson1978","ref":"refs/heads/master","size":2,"head":"954a8c7b55f8c31bd7384d8ce513b37abf0b24b1","actor_gravatar":"6e8aca910e7ee095397d3b90acb25f6c","push_id":27737707}