BUGFIX public_instance_methods returns strings on Ruby 1.8
Merge pull request #2 from malmckay/master

Update for Ruby 1.8