seangeo / ratom

A fast, libxml based, Ruby Atom library supporting the Syndication Format and the Publishing Protocol.
http://rdoc.info/github/seangeo/ratom/frames
MIT License
97 stars 31 forks source link

Make ratom compatible with ruby 1.8.7 #19

Closed pelle closed 12 years ago

pelle commented 12 years ago

instance_methods returns an array of strings in Ruby 1.8.x as opposed to symbols in 1.9.x.

This broke our rails app completely.

I've changed it to use instance_of? instead which should work in all versions of Ruby.

seangeo commented 12 years ago

Looks good. Thanks!